TiPlotAxis.CartesianChildRefValue

TiPlotAxis Full Example

Specifies the position of a Child Cartesian Axis along it's perpendicular reference axis specified by the CartesianChildRefAxisName property.

property CartesianChildRefValue : Double;

Description

Use CartesianChildRefValue to get or set the the position of a Child Cartesian Axis along it's perpendicular reference axis specified by the CartesianChildRefAxisName property. This property only affects Axes that have their CartesianStyle set to ipcsChild.

Note: this value is specified in units of the perpendicular reference axis specified by the CartesianChildRefAxisName property.

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