chartjs-plugin-zoom
chartjs-plugin-zoom copied to clipboard
Zoom and pan plugin for Chart.js
I have installed the following version: ``` chart-js-plugin-zoom: 2.0.1 chart.js: 4.2.1 react-chartjs-2: 5.2.0 typescript: 4.1.6 ... ``` When defining the mode for the zoom within the options for a Barchart...
Hi, You already have minRange option hear: ```ts export interface ScaleLimits { min?: number | 'original'; max?: number | 'original'; minRange?: number; } ``` I see the reason why you...
I always receive the error message. Any ways to get rid of it? I'm using: `chart-js-plugin-zoom: 1.2.1 chart.js: 3.9.1 ...`
I am using the defaults object like so: ```js import { ChartOptions, defaults } from "chart.js" import { ZoomPluginOptions } from "chartjs-plugin-zoom/types/options.js" const zoom: ZoomPluginOptions = { limits: { x:...
It would be nice to allow for panning direction to be reversible.
Using with an adapter with moment-js, we convert dates for the chart to have some behaviors! So the ScaleRange can accept dates directly, but the type doesn't allow you to...
Zoom can be trigger outside of the data region, into the Axis and Legend "chart.js": "^4.2.0" "chartjs-plugin-zoom": "^2.0.0" You can reproduce this on your website here : https://www.chartjs.org/chartjs-plugin-zoom/latest/samples/drag/category.html On your...
I'm adding chartjs-plugin-zoom to my project, I need to pan on x axis but when I add limits (max), pan doesn't work. The whole chart is fixed and doesn't pan...
Hi, i can't use this plugin with chartjs 4.2. I have the plugin-datalabels installed (2.2): ``` Error: node_modules/chart.js/dist/types/index.d.ts:2793:18 - error TS2428: All declarations of 'PluginOptionsByType' must have identical type parameters....