TiPlotAxis.CartesianChildRefAxisName

TiPlotAxis Full Example

Specifies the name of the channel used for referencing a Child Cartesian Axis.

property CartesianChildRefAxisName : String;

Description

Use CartesianChildRefAxisName to get or set the name of the Axis used for referencing the axis. The specified Axis Name refers to the perpendicullar axis scale that will be used to position this Child Cartesian Axis when using the CartesianChildRefValue property. This property only affects Axes that have their CartesianStyle set to ipcsChild.

Example

Delphi

//Positions the 1st X-Axis scale line over the scale position of 25 on the 1st Y-Axis

iComponent.XAxis[0].CartesianStyle := ipcsChild;

iComponent.XAxis[0].CartesianChildRefAxisName := iComponent.YAxis[0].Name;

iComponent.XAxis[0].CartesianChildRefValue := 25;

//Positions the 1st Y-Axis scale line over the scale position of 25 on the 1st X-Axis

iComponent.YAxis[0].CartesianStyle := ipcsChild;

iComponent.YAxis[0].CartesianChildRefAxisName := iComponent.XAxis[0].Name;

iComponent.YAxis[0].CartesianChildRefValue := 25;

C++ Builder

//Positions the 1st X-Axis scale line over the scale position of 25 on the 1st Y-Axis

iComponent->XAxis[0]->CartesianStyle = ipcsChild;

iComponent->XAxis[0]->CartesianChildRefAxisName = iComponent->YAxis[0]->Name;

iComponent->XAxis[0]->CartesianChildRefValue = 25;

//Positions the 1st Y-Axis scale line over the scale position of 25 on the 1st X-Axis

iComponent->YAxis[0]->CartesianStyle = ipcsChild;

iComponent->YAxis[0]->CartesianChildRefAxisName = iComponent->XAxis[0]->Name;

iComponent->YAxis[0]->CartesianChildRefValue = 25;

Contents | Index | Previous | Next