Skip to content

Releases: chartjs/chartjs-plugin-annotation

Version 0.5.2

03 Dec 15:11
Compare
Choose a tag to compare
Version 0.5.2 Pre-release
Pre-release

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

03 Dec 15:08
Compare
Choose a tag to compare
Version 0.5.1 Pre-release
Pre-release

New Features

  • Ability to capture mouse click events on annotations (supports mousemove, mousedown, mouseup, click, dblclick, contextmenu, and wheel events)

Version 0.4.3

29 Nov 15:07
Compare
Choose a tag to compare
Version 0.4.3 Pre-release
Pre-release

Issues Fixed

  • Fixed an issue where scale min/max/suggestedMin/suggestedMax settings were overwritten (fixup for #38)

Version 0.4.2

28 Nov 21:39
Compare
Choose a tag to compare
Version 0.4.2 Pre-release
Pre-release

Issues Fixed

  • Annotations spill out of chart area (#38, resolves #23)
  • Annotation scales do not adjust to include annotation values (#39, resolves #23)

Version 0.4.0

21 Nov 15:09
Compare
Choose a tag to compare
Version 0.4.0 Pre-release
Pre-release

Breaking Changes

  • chartInstance._annotationObjects was renamed to chartInstance.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

  • Annotations should refresh on config change (#37, resolves #36)

Version 0.3.0

15 Nov 18:26
Compare
Choose a tag to compare
Version 0.3.0 Pre-release
Pre-release

Adds support for line annotation labels (#31, resolves #7). @Adondriel, @petewalker

Version 0.2.0

23 Oct 21:57
Compare
Choose a tag to compare
Version 0.2.0 Pre-release
Pre-release

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

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

07 Aug 20:13
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release

Adds support for dashed line annotations.

Version 0.1

18 May 01:51
Compare
Choose a tag to compare
Version 0.1 Pre-release
Pre-release

Initial release of Chart.js annotation plugin.

See Readme for details. You can add line or box annotations.