Determines if points are automatically sorted or left at original position.
public ValueListOrder Order {get; set;}

Remarks


Run-time only. The Order property determines if points will be automatically sorted or it they will remain always at their original positions. This Order is used by default by the Series XValues to draw lines from Left to Right. Setting the XValues.Order property to loNone will respect the points order at point creation. This can be used to draw polygons.

Example


[C#]

This code creates a new Line series class that draws a triangle. The code assumes that you already have a line Series defined as Series(0) :

tChart1[0].Clear(); 
tChart1[0].XValues.Order = Steema.TeeChart.ValueListOrder.None;
tChart1[0].Add(-100,0,Color.Red);
tChart1[0].Add(0,100,Color.Blue);
tChart1[0].Add(100,0,Color.Green);
tChart1[0].Add(-100,0,Color.Yellow);




See Also

ValueList Class | ValueList Members | Steema.TeeChart.Styles Namespace