Releases: chartjs/chartjs-plugin-annotation
Releases · chartjs/chartjs-plugin-annotation
Version 0.5.2
New Features
- Added support for mouse hover events (
mouseover
,mouseenter
,mouseleave
,mouseout
) (#44) - Numerous internal API improvements (#45)
- Added a
dblClickSpeed
option - Annotations may have user-specified
id
Issues Fixed
- Fixed a canvas corruption bug when line labels are toggled (#45, 4bb9f92)
- Fixed a Webpack complaint when bundling this package
Dependencies
- Requires Chart.js >= 2.4.0
Version 0.5.1
New Features
- Ability to capture mouse click events on annotations (supports
mousemove
,mousedown
,mouseup
,click
,dblclick
,contextmenu
, andwheel
events)
Version 0.4.3
Issues Fixed
- Fixed an issue where scale min/max/suggestedMin/suggestedMax settings were overwritten (fixup for #38)
Version 0.4.2
Version 0.4.0
Breaking Changes
chartInstance._annotationObjects
was renamed tochartInstance.annotations
This release includes a significant amount of internal refactoring. Any other plugins or code that relied on accessing internal properties may have to be updated to work correctly with this release.
Issues Fixed
Version 0.3.0
Adds support for line annotation labels (#31, resolves #7). @Adondriel, @petewalker
Version 0.2.0
Plugin Name Changed
Starting with this version, the plugin name has changed from 'Chart.Annotation.js' to 'chartjs-plugin-annotation'. Old versions are still available on NPM. New versions will be published under the new name only
New Features
- Ability to draw skewed lines #34 Thanks @mrdnote
- Ability to configure when the annotation draws. #30 Thanks @petewalker
Issues Fixed
- Fixed a typo in example #27 Thanks @compwright
- Fixed an issue where line dashes leaked out of drawing code #24
Version 0.1.1
Adds support for dashed line annotations.
Version 0.1
Initial release of Chart.js annotation plugin.
See Readme for details. You can add line or box annotations.