Skip to content

v0.7.0

Pre-release
Pre-release

Choose a tag to compare

@benmccann benmccann released this 16 Mar 14:54

Breaking Changes

  • The dependency on Chart.js is now declared as a peerDependency. This means that chart.js will need to be installed alongside chartjs-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

Docs

  • Improve readme and samples (#210)
  • Added jsdoc for doZoom (#192)

Dev and Infra

  • Automated release process (#202). Thanks @jledentu
  • Use rollup to build the library (#193). Thanks @jledentu
  • Linting of samples (#194)
  • Linting of code