You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for the plugin, super awesome. 🎩
I'm using the latest (as of 06-11-23) from cdn.jsdelivr for both chart.js and the plugin.
The idea here is to fix (or limit) an axis value and have the zoom affect the data scale in a separately controllable fashion. For example; say we have a dataset that extends away from 0 and we want to zoom keeping 0 in view.
Where: minMax sets the maximum value that the min scale could take under zoom. maxMin sets the minimum value that the max scale could take under zoom.
Setting to original would have the standard implications. Now, if both min and minMax were set to original, that would disable changes to that scale value under zoom.
The text was updated successfully, but these errors were encountered:
I wouldn't mind doing the work if someone can point me in the right direction. That is, if anyone but me thinks it would be useful...
I took a brief look but I don't know this codebase so I wasn't sure where the bast place to start was. I would offer to do the maxRange#756 update as well if that would help. Seems like that would be in the same area...
Hello,
First off, thanks for the plugin, super awesome. 🎩
I'm using the latest (as of 06-11-23) from cdn.jsdelivr for both chart.js and the plugin.
The idea here is to fix (or limit) an axis value and have the zoom affect the data scale in a separately controllable fashion. For example; say we have a dataset that extends away from 0 and we want to zoom keeping 0 in view.
Currently we have:
I purpose the following:
Where:
minMax
sets the maximum value that themin
scale could take under zoom.maxMin
sets the minimum value that themax
scale could take under zoom.Setting to
original
would have the standard implications. Now, if bothmin
andminMax
were set tooriginal
, that would disable changes to that scale value under zoom.The text was updated successfully, but these errors were encountered: