ISeries.HorizontalAxisCustom
ISeries
property HorizontalAxisCustom: Integer;
Type Library
TeeChartx
Description
After adding a new Custom Axis to a Chart, use HorizontalAxisCustom to associate the Series to the Custom Axis.
Example [Visual Basic]:
Private Sub Command1_Click()
Dim NumVert, NumHoriz As Integer
With TChart1
'Add 2 Custom Axes, vertical and horizontal
NumVert = .Axis.AddCustom(False)
NumHoriz = .Axis.AddCustom(True)
'Associate Series with the new Axes
.Series(1).VerticalAxisCustom = NumVert
.Series(1).HorizontalAxisCustom = NumHoriz
'Position the new Axes relative to Chart
.Axis.Left.EndPosition = 50
.Axis.Custom(0).StartPosition = 50
.Axis.Custom(0).PositionPercent = 50
.Axis.Custom(1).StartPosition = 50
.Axis.Custom(1).PositionPercent = 50
'Change characteristics of a Custom Axis
.Axis.Custom(0).Labels.Font.Bold = True
.Axis.Custom(0).Labels.Font.Color = vbBlue
End With