property Chart.AllowOverviewZoom as OverviewZoomEnum
Gets or sets a value that indicates whether the user can zoom and scale the chart at runtime.

   OverviewZoomEnum An OverviewZoomEnum expression that specifies when the control displays the zooming scale.  
By default, the AllowOverviewZoom property is exZoomOnRClick. The zooming scale displays the list of visible units. A visible unit is an unit whose Label property is not empty. So, the Label property indicates the zooming units in the zoom scale. If you plan to use zooming in your chart please review each Label and LabelToolTip properties. Once the user selects a new time scale unit in the overview zoom area, the control fires the OverviewZoom event.

The zooming scale may be displayed on the overview area only if:

Use the OverviewVisible property to show or hide the control's overview area. The OverviewZoomCaption property indicates the caption being displayed in each zooming unit. The OverviewZoomUnit property indicates the width in pixels of the zooming unit. The LabelToolTip retrieves or sets a value that indicates the predefined format of the level's tooltip for a specified unit. Use the Zoom method to programmatically zoom and scale the chart. Use the UnitScale property to change the unit of the lowest level.

The following picture shows the zooming scale on the overview area [exAlwaysZoom] ( you can click the 1, 7 or 31, and the chart is scaled to days, weeks or moths ):


The following picture shows the control when the user right clicks the overview area ( as the chart displays weeks ) [exZoomOnRClick]:


The following picture shows the control while the user drags the cursor to the Month while keeping the right button ( as the chart displays months ):

Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.