IFastLineSeries.AutoSizeVertAxis
IFastLineSeries

property AutoSizeVertAxis: WordBool;

Type Library
TeeChartx

Description
Default: True

Setting AutoSizeVertAxis to False will disable the automatic rescaling of the Chart's vertical axis.

Example [Visual Basic]

Private Sub Check1_Click()

With TChart1

.Series(0).asFastLine.AutoSizeVertAxis = Check1.Value

If .Series(0).asFastLine.AutoSizeVertAxis = False Then

.Axis.Left.SetMinMax 30, 70

.Repaint

End If

End With

End Sub

Private Sub Form_Load()

With TChart1

.Aspect.View3D = False

.AddSeries scFastLine

.Series(0).XValues.DateTime = True

.Axis.Bottom.Labels.Angle = 90

.Axis.Bottom.Labels.DateTimeFormat = "hh:mm:ss"

.Series(0).asFastLine.AddRealTime Now, Rnd * 100

.Axis.Bottom.SetMinMax Now - 8 / 86400, Now + 2 / 86400

.TimerEnabled = True

.TimerInterval = 1000

End With

Check1.Value = 1

End Sub

Private Sub TChart1_OnAfterDraw()

Check1_Click

End Sub

Private Sub TChart1_OnTimer()

With TChart1

.Series(0).asFastLine.AddRealTime Now, Rnd * 100

.Axis.Bottom.SetMinMax Now - 8 / 86400, Now + 2 / 86400

End With

End Sub

TeeChart Pro ActiveX Control Documentation. Copyright 1997-2003 Steema Software SL.