public Axis CustomHorizAxis {get; set;}
Remarks
After adding a new horizontal Custom Axis to a Chart, use CustomHorizAxis to associate the Series to the Custom Axis.
Together with the axis PositionPercent and "stretching" new properties, now it's possible to have unlimited axes floating anywhere on the chart.
Scroll, zoom, and axis hit-detection also apply to custom-created axes.
Creating extra axes is only allowed at run-time, as a few lines of code are necessary:
Example
[C#]
Steema.TeeChart.Axis ax;
tChart1.Axes.Custom.Add(ax = new Steema.TeeChart.Axis());
ax.Horizontal = true;
ax.RelativePosition = 50;
tChart1.Series[1].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Custom;
tChart1.Series[1].CustomHorizAxis = ax;
ax.Title.Text="My Extra Axis";
ax.AxisPen.Color=Color.Green;
You can modify any property of the new created axes, such as the axis color or axis title:
See Also
Series Class | Series Members | Steema.TeeChart.Styles Namespace