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
Bars shrink after enough zooming. This happens because all of the data values are considered, and getPixelForValue is executed for each index. The method is limited to +/-32k pixels, which then results to too small distance between bars around those limits.
ok
not ok (zoomed one step more)
Possible Solution
Stop considering bars outside visible area, should perform better too.
Expected Behavior
Bars should be sized properly
Current Behavior
Bars shrink after enough zooming. This happens because all of the data values are considered, and
getPixelForValue
is executed for each index. The method is limited to +/-32k pixels, which then results to too small distance between bars around those limits.ok
not ok (zoomed one step more)
Possible Solution
Stop considering bars outside visible area, should perform better too.
Steps to Reproduce
https://codepen.io/kurkle/pen/rNjbKJg
Context
chartjs-plugin-zoom
Environment
The text was updated successfully, but these errors were encountered: