TiPlotToolBar.ZoomInOutFactor
TiPlotObject
Use to get or set the Toolbar Zoom button zoom factor.
property ZoomInOutFactor : Double);
Description
Use ZoomInOutFactor to get or set the Toolbar Zoom button zoom factor. When
your application user clicks on either the Zoom In or Zoom Out buttons, or you
use the toolbar methods DoButtonClickZoomIn or DoButtonClickZoomOut, the chart axes will be zoomed according to this factor.
When the ScaleType is set to Linear...
To zoom in our out by 100% set the value to 2
To zoom in our out by 50% set the value to 1.5
A setting of 1 will have no effect, and the zoom in and out capability will be
disabled.
(Zoom Value must always be greater or equal to 1)
When the ScaleType is set to Logarithmic...
This property has no effect. Log based scales always zoom in our out by 100%,
or by a factor of 2
Example
Delphi
iComponent.ToolBar[0].ZoomInOutFactor := 1.50;
C++ Builder
iComponent->ToolBar[0]->ZoomInOutFactor = 1.50;
Contents | Index | Previous | Next