Configures the zooming behavior for the chart.
boolean
If set to true, zooming will be performed on mouse up. It requires enableSelectionZooming
to be true.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
zoomSettings: {
enableSelectionZooming: true,
enableDeferredZooming: false
}
...
});
chart.appendTo('#Chart');
Defaults to true
boolean
If set to true, chart can be zoomed by using mouse wheel.
Defaults to false
boolean
Specifies whether chart needs to be panned by default.
Defaults to false.
boolean
If to true, chart can be pinched to zoom in / zoom out.
Defaults to false
boolean
Specifies whether axis needs to have scrollbar.
Defaults to false.
boolean
If set to true, chart can be zoomed by a rectangular selecting region on the plot area.
Defaults to false
Specifies whether to allow zooming vertically or horizontally or in both ways. They are,
y: Chart can be zoomed vertically.
It requires enableSelectionZooming
to be true.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
zoomSettings: {
enableSelectionZooming: true,
mode: 'XY'
}
...
});
chart.appendTo('#Chart');
Defaults to ‘XY’
boolean
If set to true, chart can be rendered with toolbar at initial load.
Defaults to false
Specifies the toolkit options for the zooming as follows:
Defaults to ’[“Zoom”, “ZoomIn”, “ZoomOut”, “Pan”, “Reset”]’