TiPlotAxis.Zoom

TiPlotAxis See Also

Zooms the axis by the percentage specified.

procedure
Zoom(Value : Double);

Description

Call the Zoom method to zoom the axis by the percentage specified.

When the ScaleType is set to Linear...

To zoom out 100% set the value to 2

To zoom in by 100% set the value to 0.50

(Zoom Value must always be greater than 0)

(A Zoom Value of 1 will have no effect)

When the ScaleType is set to Logarithmic...

To zoom out 100% set the value to 1.

To zoom in by 100% set the value to -1

(A Zoom Value of 0 will have no effect)

Example

Delphi

iComponent.XAxis[0].Zoom(0.50);

iComponent.YAxis[0].Zoom(0.50);

C++ Builder

iComponent->XAxis[0]->Zoom(0.50);

iComponent->YAxis[0]->Zoom(0.50);

Contents | Index | Previous | Next