Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pan with chartjs-chart-graph? #13

Closed
mossaiby opened this issue Oct 30, 2020 · 5 comments
Closed

Pan with chartjs-chart-graph? #13

mossaiby opened this issue Oct 30, 2020 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@mossaiby
Copy link

Is there any (easy) way to add zoom / pan functionality to chartjs-chart-graph? I have tried chartjs-plugin-zoom and zoom works fine, but no pan.

Check this fiddle: https://jsfiddle.net/y8jm4q3u

Context

  • Version: Chart.js: 2.9.4, Chart.Graphs: 2.2.1, Zoom plugin: 0.7.7
  • Browser: Chrome Desktop 86.0.4240.111, Firefox 81.0.2

Any help would be greatly appreciated. Thank you!

@mossaiby mossaiby added the question Further information is requested label Oct 30, 2020
@mossaiby
Copy link
Author

Hi @sgratzl, any progress with this? Thanks!

@sgratzl
Copy link
Owner

sgratzl commented Nov 30, 2020

sorry no idea why it isn't working and I don't know the internals of the plugin to investigate properly

@mossaiby
Copy link
Author

Thanks, @sgratzl!

@sgratzl
Copy link
Owner

sgratzl commented Dec 2, 2020

delaying for now till a chart.js 3.0.0 compatible version of the plugin is out.

@sgratzl
Copy link
Owner

sgratzl commented Jun 27, 2021

seems to work out of the box https://codepen.io/sgratzl/pen/OJmLaVv

@sgratzl sgratzl closed this as completed Jun 27, 2021
@sgratzl sgratzl self-assigned this Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants