Releases: chartjs/chartjs-plugin-zoom
Releases · chartjs/chartjs-plugin-zoom
v2.0.1
Essential Links
Bugs Fixed
- #736 Modify UpdateModeEnum to not be const
- #732 Fix drag rectangle calculation when inside shadow BOM / WebComponent
- #708 Handling zoom edge cases (#690)
Development
- #746 Bump version to 2.0.1
Thanks to @AsturaPhoenix, @CodingMarco, @SebastiaanSafeguard, @dependabot, @dependabot[bot] and @shrujalshah28
v2.0.0
Essential Links
Breaking Changes
- #658 Replace overScaleMode with more flexible scaleMode
Enhancements
- #672 Allow canceling drag-to-zoom on Escape key
- #680 Add drawTime option to zoom drag configuration
- #695 add-v4-compatibility
- #671 Only drag zoom on left mouse button
- #659 Export zoomRect and make it more configurable
- #658 Replace overScaleMode with more flexible scaleMode
Thanks to @LeeLenaleee, @dependabot, @dependabot[bot], @joshkel, @kurkle and @stockiNail
v1.2.1
Essential Links
Bugs Fixed
Development
- #646 Bump version to 1.2.1
Thanks to @dependabot, @dependabot[bot], @joshkel and @kurkle
v1.2.0
v1.1.1
v1.1.0
Essential Links
Enhancements
- #555 Add modifierKey option for drag-to-zoom
- #536 Add getZoomLevel function
- #524 Multi-axis zoom and original zoom limits
Bugs Fixed
- #557 Fix initial zoom level and pan with drag modifier
- #553 Fix resetZoom after manual scale limits update
- #544 Fix errors from zero-dimension scales
- #541 Fix removing event listeners
Types
- #534 Documentation and type definitions for zoomFunctions and panFunctions
Documentation
- #558 Add fetch-data example
- #547 Fix click to zoom sample
- #534 Documentation and type definitions for zoomFunctions and panFunctions
Development
- #560 Bump version to 1.1.0
v1.0.1
v1.0.0
Essential Links
zoom.enabled
->zoom.wheel.enabled
andzoom.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
- #478 Add zoomScale, rename doPan to pan, doZoom to zoom
- #476 Fix category panning
- #470 Combine range options, add minimum scale range
Enhancements
- #487 Add onPanStart and onZoomStart callbacks
- #484 Drag-to-zoom: filter clicks and pan.modifierKey
- #483 Make resetZoom accept UpdateMode argument
- #478 Add zoomScale, rename doPan to pan, doZoom to zoom
- #481 Expose zoomFunctions and panFunctions for customization
- #464 Refactor & export pan and zoom functions
- #457 Internal state handling
- #399 Feature: Zoom each scale separately
- #382 Added optional modifier keys
- #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
- #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
- #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
- #476 Fix category panning
- #474 Use static offsets for panning rounded time scale
- #472 Fix hook parameters
- #455 Refactor startHammer
- #451 Remove animationDuration option
- #429 Fix non-zoomable charts eating scroll events
- #434 Fix zoom on category scale
- #410 Properly call onZoom & onZoomComplete when pinching
Types
- #502 Add missing modifierKey properties to Options
- #469 Add missing return types
- #439 Reuse types from Chart.ts
- #438 adding typings for Zoom analog to chartjs-plugin-annotation
Documentation
- #505 Remove speed property from pan options in the samples
- #501 Adds note to click zoom sample
- #497 Adds drag effect options to the documentation
- #486 Add click-to-zoom example
- #477 Add API documentation (typedoc)
- #475 Add a sample for drag-to-zoom in docs
- #515 Removes 'undefined' as default because is not undefined
- #467 Fix minor typo errors in docs
- #466 Remove API section in README
- #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
- #428 Changes script URLs for chart.js and hammer in order to use node_modules
Development
v1.0.0-rc
Essential Links
zoom.enabled
->zoom.wheel.enabled
andzoom.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
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