public Boolean Stairs {get; set;}
Remarks
This boolean property controls the drawing of Line series and Area 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. - see charts below.
Line with Stairs false
Same line with Stairs true
Same line with Stairs true and InvertedStairs true
[C#]
private void button1_Click(object sender, System.EventArgs e)
{
((Steema.TeeChart.Styles.Line)tChart1[0]).Stairs =! ((Steema.TeeChart.Styles.Line)tChart1[0]).Stairs;
}
private void button3_Click(object sender, System.EventArgs e)
{
((Steema.TeeChart.Styles.Line)tChart1[0]).InvertedStairs =! ((Steema.TeeChart.Styles.Line)tChart1[0]).InvertedStairs;
}
See Also
Custom Class | Custom Members | Steema.TeeChart.Styles Namespace