zoom
enabled: Boolean
To allow zooming in axis charts.
Note: In a category x-axis chart, to enable zooming, you will also need to set xaxis.tickPlacement: 'on'
.
Read more on the
Category Axis Zoom tutorial.
type: String
Allow zooming either on both x-axis, y-axis or on both axis.
Available options
Known Issue: In synchronized charts, xy
or y
will not update charts in sync, while x
will work correctly.
autoScaleYaxis: Boolean
When this option is turned on, the chart’s y-axis re-scales to a new low and high based on the visible area. Helpful in situations where the user zoomed in to a small area to get a better view.
Known Issue: This option doesn’t work in a multi-axis chart (when you have more than 1 y-axis)
zoomedArea:
zoomedArea is the area which is drawn when a user drags the mouse from one point to another
fill:
color: Color
Background color of the selection zoomed area
opacity: Number
Sets the transparency level of the selection fill
stroke:
color: Color
Border color of the selection zoomed area
opacity: Number
Sets the transparency level of the selection border
width: Number
Sets the width selection border