1
プラグイン・ズーム(https://github.com/chartjs/chartjs-plugin-zoom)のみchartjs-pluginのズーム範囲の間でズームできるようにする方法
は、私が唯一の{分、ズームなどの提供範囲の間でズーム表示する:0、最大-ショー:100 }を軸上に置く。同じ考え方?
プラグイン・ズーム(https://github.com/chartjs/chartjs-plugin-zoom)のみchartjs-pluginのズーム範囲の間でズームできるようにする方法
は、私が唯一の{分、ズームなどの提供範囲の間でズーム表示する:0、最大-ショー:100 }を軸上に置く。同じ考え方?
ズーム範囲のみを追加できます。この範囲はキャンバスの幅になります。
zoom: {
// Boolean to enable zooming
enabled: true,
// Enable drag-to-zoom behavior
drag: true,
// Zooming directions. Remove the appropriate direction to disable
// Eg. 'y' would only allow zooming in the y direction
mode: 'xy',
rangeMin: {
// Format of min zoom range depends on scale type
x: null,
y: null
},
rangeMax: {
// Format of max zoom range depends on scale type
x: null,
y: null
}
}