TiPlotComponent.AddXAxis

TiPlotComponent See Also

Adds a single X-Axis object to the plot.

function AddXAxis : Integer;

Description

Call AddXAxis to add a single X-Axis object to the plot. The return value from the function is an unique index used for manipulating the object. Use the XAxis property to get or set the properties of the channel object.

The index value for this object will decrement by one each time a X-Axis object with a lower index value is deleted.

The Z-Order of the object is set to zero and all other layout objects with the same orientation are incremented by one. The orientation of the X-Axis object depends on the value of the XYAxesReverse property.

Example

Delphi

Index := iComponent.AddXAxis;

C++ Builder

Index = iComponent->AddXAxis();

Contents | Index | Previous | Next