IFastLineSeries.InvertedStairs
IFastLineSeries
property InvertedStairs: WordBool;
Type Library
TeeChartx
Description
This boolean property controls the FastLine series drawing.
When Stairs is set to True you may set InvertedStairs to True to alter the direction of the step. - see Stairs.
In most normal situations, the 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 draw 2 Lines between each pair of points, thus giving a "stairs" appearance.
This is most used in some financial Chart representations. You may invert the stair by setting InvertedStairs to True.
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