IFastLineSeries.Stairs
IFastLineSeries
property Stairs: WordBool;
Type Library
TeeChartx
Description
This boolean property controls the drawing of FastLine series.
In most normal situations, a series draws a line between each Line point.
This makes the Line appear as a "mountain" shape.
However, setting Stairs to TRUE will make the Series to draw 2 Lines between each pair of points, thus giving a "stairs" appearance.
This is most used in some financial Chart representations.
When Stairs is set to True you may set InvertedStairs to True to alter the direction of the step.
Example [Visual Basic]:
Private Sub Check1_Click()
TChart1.Series(0).asFastLine.Stairs = Check1.Value = 1
' enable / disable
Check2.Enabled = TChart1.Series(0).asFastLine.Stairs
End Sub
Private Sub Check2_Click()
TChart1.Series(0).asFastLine.InvertedStairs = Check2.Value = 1
End Sub