Skip to content

Releases: chartjs/chartjs-plugin-zoom

v1.0.0-rc

17 May 12:45
d47e6e6
Compare
Choose a tag to compare
v1.0.0-rc Pre-release
Pre-release

Essential Links

  • #501 Adds note to click zoom sample
  • #497 Adds drag effect options to the documentation

⚠️ Important note for users upgrading from previous versions: the wheel/pinch/drag zoom behaviors are now configured separately, so some options have been moved an renamed:

  • zoom.enabled -> zoom.wheel.enabled and zoom.pinch.enabled
  • zoom.drag -> zoom.drag.enabled (enabling drag mode no longer disables the wheel/pinch modes)
  • zoom.speed -> zoom.wheel.speed
  • zoom.wheelModifierKey -> zoom.wheel.modifierKey
  • zoom.threshold -> zoom.drag.threshold

Breaking Changes

  • #507 Add the ability to enable both wheel and drag modes at the same time

Enhancements

  • #507 Add the ability to enable both wheel and drag modes at the same time

Bugs Fixed

  • #512 Fix drag threshold for single axis modes
  • #504 Fixes invalid context onZoomComplete invocation
  • #502 Add missing modifierKey properties to Options
  • #495 Cancel all chart events while panning or dragging
  • #494 Fix delta calculation at direction change

Types

  • #502 Add missing modifierKey properties to Options

Documentation

  • #505 Remove speed property from pan options in the samples

Development

  • #513 Bump version to 1.0.0-rc, update dependencies

Thanks to @jbelien, @jledentu, @kurkle and @stockiNail

v1.0.0-beta.5

02 May 14:26
48e16ec
Compare
Choose a tag to compare
v1.0.0-beta.5 Pre-release
Pre-release

Essential Links

Enhancements

  • #487 Add onPanStart and onZoomStart callbacks
  • #484 Drag-to-zoom: filter clicks and pan.modifierKey
  • #483 Make resetZoom accept UpdateMode argument

Bugs Fixed

  • #488 Fix drag-zoom and pan for non-linear scales
  • #484 Drag-to-zoom: filter clicks and pan.modifierKey
  • #485 Fix calling of onZoomComplete from wheel event

Documentation

  • #486 Add click-to-zoom example

Development

  • #490 Bump version to 1.0.0-beta.5
  • #488 Fix drag-zoom and pan for non-linear scales

Thanks to @kurkle and @nagix

v1.0.0-beta.4

30 Apr 05:53
dda1f08
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release

Essential Links

Breaking Changes

  • #478 Add zoomScale, rename doPan to pan, doZoom to zoom
  • #476 Fix category panning

Enhancements

  • #478 Add zoomScale, rename doPan to pan, doZoom to zoom
  • #481 Expose zoomFunctions and panFunctions for customization

Bugs Fixed

  • #476 Fix category panning
  • #474 Use static offsets for panning rounded time scale

Documentation

  • #477 Add API documentation (typedoc)
  • #475 Add a sample for drag-to-zoom in docs

Development

  • #482 Bump version to 1.0.0-beta.4

Thanks to @jledentu, @kurkle and @nagix

v1.0.0-beta.3

27 Apr 16:20
b785842
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

Essential Links

  • #466 Remove API section in README

Breaking Changes

  • #470 Combine range options, add minimum scale range

Enhancements

  • #470 Combine range options, add minimum scale range

Bugs Fixed

  • #472 Fix hook parameters

Types

  • #469 Add missing return types

Documentation

  • #467 Fix minor typo errors in docs

Development

  • #473 Bump version to beta.3

Thanks to @jledentu and @kurkle

v1.0.0-beta.2

25 Apr 19:03
e0e6b32
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

Essential Links

Enhancements

  • #464 Refactor & export pan and zoom functions
  • #457 Internal state handling
  • #399 Feature: Zoom each scale separately
  • #382 Added optional modifier keys

Bugs Fixed

  • #455 Refactor startHammer
  • #451 Remove animationDuration option
  • #429 Fix non-zoomable charts eating scroll events
  • #434 Fix zoom on category scale

Types

  • #439 Reuse types from Chart.ts
  • #438 adding typings for Zoom analog to chartjs-plugin-annotation

Documentation

  • #462 Add sample on time scale
  • #463 Correct zoom modifierKey docs
  • #461 Changes zoom.threshold default to 0
  • #459 Update README
  • #456 Add initial docs

Development

  • #465 Bump version to 1.0.0-beta.2
  • #455 Refactor startHammer
  • #454 Use fallback configration for scale types
  • #452 Refactor to logical entities

Thanks to @BarryPSmith, @benmccann, @etimberg, @jacopotediosi, @jledentu, @kurkle, @lirik90, @stockiNail and @tomsoftware

v1.0.0-beta.1

08 Mar 18:49
423609c
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

Essential Links

Enhancements

  • #414 Add an ESM build
  • #411 Use `start` and `stop` plugin hooks instead of `beforeInit`, `afterInit` and `destroy`
  • #408 Compatible with Chart.js 3.0.0-beta7
  • #390 Porting to CHART.JS 3 (using master)

Bugs Fixed

  • #410 Properly call onZoom & onZoomComplete when pinching

Documentation

  • #428 Changes script URLs for chart.js and hammer in order to use node_modules

Development

  • #416 Remove Bower
  • #365 Fix no-mixed-operators lint warnings

Thanks to @benmccann, @ccrisan, @joshkel, @kurkle, @qcho and @stockiNail

v0.7.7

07 May 17:14
Compare
Choose a tag to compare
Version 0.7.7

v0.7.6

05 May 15:45
Compare
Choose a tag to compare
Version 0.7.6

v0.7.5

05 Nov 17:05
Compare
Choose a tag to compare
Version 0.7.5

v0.7.4

19 Sep 18:37
Compare
Choose a tag to compare
Version 0.7.4