Zoom Control
The Chart Canvas element's Series child elements cause a data visualization (the chart) to be rendered in the canvas. The Zoom Control element is available as a child of Chart Canvas and allows the user to "zoom" into the canvas, magnifying a portion of it.
- About the Zoom Control
- Attributes
About the Zoom Control
The Zoom Control element imparts a magnification feature to Chart Canvas.
As shown above, at runtime users can use the mouse to draw a selection area on the canvas and the canvas will be "zoomed in" on the selected data. A "Reset zoom" button is also displayed, which will return the canvas to its original magnification.
The appearance of the "Reset zoom" button can be styled using the Reset Zoom Button and Reset Zoom Button Hover Style child elements.
The Zoom Control is not available for Series.Funnel, Series.Pie, or Series.Pyramid.
Attributes
The Zoom Control element has the following attributes:
Attribute | Description |
---|---|
Zoom Control Type | Specifies the nature of the selection area that can be drawn. Options include: Area (the default) - allows dragging the mouse in any direction to draw the selection area. AreaXAxis - dragging can only be done along the X-axis. AreaYAxis - dragging can only be done along the Y-axis. |