Interface for a class ZoomSettings
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');
boolean
If set to true, chart can be zoomed by using mouse wheel.
boolean
Specifies whether chart needs to be panned by default.
boolean
If to true, chart can be pinched to zoom in / zoom out.
boolean
Specifies whether axis needs to have scrollbar.
boolean
If set to true, chart can be zoomed by a rectangular selecting region on the plot area.
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');
boolean
If set to true, chart can be rendered with toolbar at initial load.
Specifies the toolkit options for the zooming as follows: