IChartAxis.ReverseOrder

Syntax

ReverseOrder: Boolean;

Description

The ReverseOrder property determines whether reverse order of axis values (categories) is used.

Comments

If the property is set to True, axis values (categories) are arranged in the reverse order, and the vertical axis is positioned at the opposite edge of the plot area. If the property is set to False, direct values order is used.

The property is set to False by default.

When reverse order is used for the category axis, the series are displayed in the reverse order.

This property cannot be used for a petal chart.

Example

Sub Order;

Var

UiChart1: UiChart;

Axisx : IChartAxis;

Begin

Axisx := UiChart1.Chart.AxisX;

AxisX.ReverseOrder := True;

End Sub Order;

After executing the example reverse points order is used for the X axis.

See also:

IChartAxis