IZoom.Enable
IZoom
property Enable: WordBool;
Type Library
TeeChartx
Description
The Zoom Enable boolean property toggles the runtime Zoom. Setting it to True will allow runtime Zoom by dragging the mouse.
Enable Example
Visual Basic
TChart1.Zoom.Enable = True
You can also Zoom a specific chart region by coding:
( This example uses the Bottom and Left axis)
Delphi
TChart1.Axis.Bottom.Automatic := False ;
TChart1.Axis.Bottom.Minimum := 45.2 ;
TChart1.Axis.Bottom.Maximum := 67.1 ;
TChart1.Axis.Left.Automatic := False ;
TChart1.Axis.Left.Minimum := 150 ;
TChart1.Axis.Left.Maximum := 300 ;