IAxes.SetIsometric
IAxes See also
procedure SetIsometric(aVertical, aHorizontal: Integer);
Type Library
TeeChartx
Description
Sets the Grid Scales of the input Axes to Isometric. Use the Index of the Axes as parameters. The Index may be obtained from the Axis.Index property.
Example
[Visual Basic]
Private Sub Form_Load()
TeeCommander1.Chart = TChart1
TChart1.AddSeries scLine
With TChart1.Series(0)
.AddXY 0, 4, "", clTeeColor
.AddXY 1, 3, "", clTeeColor
.AddXY 2, 2, "", clTeeColor
.AddXY 3, 4, "", clTeeColor
End With
End Sub
Private Sub Command1_Click()
With TChart1
With .Series(0)
.AddXY .XValues.Last + 1, Rnd(.YValues.Last + 2), "", clTeeColor
End With
With .Axis
.SetIsometric .Left.Index, .Bottom.Index
TChart1.Environment.InternalRepaint
.Left.Labels.Separation = 0
.Left.Increment = .Bottom.CalcIncrement
End With
End With
End Sub
See also:
IAxis.Index