TiPlotDataView.GridXAxisName

TiPlotDataView See Also

Specifies the name of the X-Axis used for displaying X-Axis major and minor lines in the grid.

property GridXAxisName : String;

Description

Use GridXAxisName to get or the name of the X-Axis used for displaying X-Axis major and minor lines in the grid. Use GridLineShowXMajors and GridLineShowXMinors to specify which ticks are used to draw grid lines.

Stacked Axes Note: If you are using stacked axes, you will probably want to set this property to "<All>". This string value will instruct the grid to draw to the major tick lines for each individual X-Axis.

Example

Delphi

iComponent.DataView[0].GridXAxisName := 'X-Axis 1';

iComponent.DataView[0].GridXAxisName := iComponent.XAxis[0].Name;

iComponent.DataView[0].GridXAxisName := '<All>';

C++ Builder

iComponent->DataView[0]->GridXAxisName = "X-Axis 1";

iComponent->DataView[0]->GridXAxisName = iComponent->XAxis[0]->Name;

iComponent->DataView[0]->GridXAxisName = "<All>";

Contents | Index | Previous | Next