chartjs / chartjs/chartjs-plugin-zoom

How to get the pan distance/level

Open
#627 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
623
Forks
331
Avg merge
7h 5m
Merged PRs (30d)
7

Description

I need to control a 2nd chart when I pan & zoom so that they both match.

Zoom is pretty straight forward, but I can't seem to see how to get a pan, x & Y to force the other chart to pan the same.

I hope I'm saying this right, but for zoom, I can do a chart.getZoomLevel(), is there anything similar for panning?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.