chartjs / chartjs/chartjs-plugin-zoom

Lock y-axis movement for stacked scales when paning

Open
#762 0 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

Im having a stacked scale plot where I want to be able to lock y axis movement for the axis that I'm in. If im paning in axis 2 I should be able to pan in both x and y direction while axis 1 is just moving in x-direction. For zooming the funcionality could be the same. Consider the axes separated and lock x-direction only with the shared x-axis while the y-axes are free moving depending on where the mouse is.

https://github.com/chartjs/chartjs-plugin-zoom/assets/87042707/0af20cf7-819f-4159-a3fb-e9285b62a04d

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.