Releases: chartjs/chartjs-plugin-zoom
Releases · chartjs/chartjs-plugin-zoom
v0.7.3
Version 0.7.3
v0.7.2
Version 0.7.2
v0.7.1
Version 0.7.1
v0.7.0
Breaking Changes
- The dependency on Chart.js is now declared as a
peerDependency
. This means thatchart.js
will need to be installed alongsidechartjs-plugin-zoom
update
must be called after changing options
Bug Fixes
- Fix pan at limits of range (#211)
- Fix range min and max when zooming time scale (#208)
- Fix errors when only pan is enabled (#212)
- Make
resetZoom
work with added scales (#201). Thanks @jannisgt - Don't delete
dataset._meta
(#204) - Ensure pan works when zoom is disabled (#203)
- Fix pan on category scale when
offsetGridLines=false
(#198) - Fix the calculation of the zoom center coordinate when dragging (#161). Thanks @nagix
- Fix mouseup outside chart element (#150). Thanks @jledentu
- Options can now be specified under
plugins.zoom
(#221)
Enhancements
- Speed option (#215). Thanks @jledentu
- Allow switching between wheel/drag modes of the zoom (#196). Thanks @jledentu
- Added
onZoom
/onPan
args (#178). Thanks @Techn1x - Add options to customize drag-to-zoom area (#148). Thanks @jledentu
- Enable zoom on vertical axis. Thanks @jledentu
Docs
Dev and Infra
v0.6.6
v0.6.2
Version 0.5.0
Version 0.4.6
Issues Fixed
- Fixed drag-to-zoom on Firefox and other browsers (resolves #62) - thanks @AlbinoDrought
Version 0.4.4
Issues Fixed
- Suppress ghost click event after panning (#57)
Version 0.4.3
Issues Fixed
- Fixed a re-ocurrance of #54 when there are multiple chart instances