TiPlotLayoutObject.ZOrder

TiPlotLayoutObject See Also

Specifies the z-order of the layout object relative to other layout objects with the same orientation.

property ZOrder : Integer;

Description

Use ZOrder to get or set the z-order of the layout object relative to other layout objects with the same orientation.

For vertical objects, a lower z-order would be closer to the left side of the plot. For Horizontal objects, a lower z-order would be closer to the bottom of the plot.

If two layout objects have the same z-order, then they are considered "stacked". This is generally used with TiPlotXAxis and TiPlotYAxis objects to achieve "stacked axes". Use the StartPercent and StopPercent properties to prevent overlapping of objects with the same z-order.

Example

Delphi

iComponent.XAxis[0].ZOrder := 0;

iComponent.YAxis[0].ZOrder := 0;

iComponent.Legend[0].ZOrder := 0;

C++ Builder

iComponent->XAxis[0]->ZOrder = 0;

iComponent->YAxis[0]->ZOrder = 0;

iComponent->Legend[0]->ZOrder = 0;

Contents | Index | Previous | Next