Skip to content

Releases: chartjs/chartjs-plugin-annotation

v1.0.0-beta.4

07 Mar 13:50
03a76d5
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release

Essential Links

Enhancements

  • #331 Chart.js beta.13 compatibility

Bugs Fixed

  • #335 Use annotation defaults when resolving options

Development

  • #340 Bump version to 1.0.0-beta.4

Thanks to @kurkle and @santam85

v1.0.0-beta.3

05 Feb 07:08
3676938
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

Essential Links

Breaking Changes

  • #317 Moves color option out of font namespace
  • #311 Auto register/unregister annotation types
  • #305 Enable line annotation using two scales

Enhancements

  • #330 Enables the label content to be an Image.
  • #329 Enables borderDash and borderDashOffset options to all annotations
  • #327 Internal options merged, resolved and stored into the state
  • #325 Applies element defaults before resolving element properties
  • #311 Auto register/unregister annotation types
  • #305 Enable line annotation using two scales
  • #303 beforeDraw hook added

Bugs Fixed

  • #323 Adjust scale range method using options instead of elements
  • #322 Ignores no-display elements during events management
  • #307 Only parse string values for scale
  • #300 Initialize always all elements even if do not show

Types

  • #328 Chart.js beta.10 update
  • #308 types modified to support beforeDraw hook
  • #301 Consistently export all types
  • #299 Fix PointAnnotationOptions
  • #297 TypeScript type fixes

Development

  • #310 Update deps, bump version

Thanks to @elitastic, @joshkel, @kurkle and @stockiNail

v1.0.0-beta.2

05 Jan 21:20
a6164d0
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

Essential Links

Bugs Fixed

  • #295 Add types to package.json

Types

  • #295 Add types to package.json

Thanks to @kurkle

v1.0.0-beta

04 Jan 13:52
56a3141
Compare
Choose a tag to compare
v1.0.0-beta Pre-release
Pre-release

Essential Links

Breaking Changes

  • #256 Add context to display callback (#255)
  • #248 Remove annotations array, using an object instead and min/max on value and endValue options
  • #239 Align event hooks with to datalabels plugin

Enhancements

  • #282 Maintain the label always inside the chartArea, whatever rotation has been set
  • #275 Implement a separate labelDrawTime option
  • #267 Adds cornerRadius options to box annotation
  • #277 Update for Chart.js 3.0.0-beta.7
  • #263 Adds ellipse, triangle and point annotations
  • #256 Add context to display callback (#255)
  • #254 Enable Auto rotation of labels (#250)
  • #248 Remove annotations array, using an object instead and min/max on value and endValue options
  • #246 `display` setting for annotation
  • #239 Align event hooks with to datalabels plugin
  • #229 Chart.js v3 compatibility
  • #178 Add rotation option for line labels
  • #129 allow multiple lines of text in the line label
  • #116 move configure step to draw time, to support render call
  • #107 eslint fixes

Bugs Fixed

  • #290 Enables display options (#289)
  • #281 Add returns elements in `resyncElements`
  • #270 Line labels position options (not center) don't work
  • #266 Fixes events catching on rotated line labels
  • #274 Various fixes
  • #248 Remove annotations array, using an object instead and min/max on value and endValue options
  • #241 Fix destroying annotations and beforeDatasetsDraw
  • #237 Fix some issues detected by inspecting samples
  • #173 Added PLUGIN ID because missing
  • #152 Fix getting chart borders for box size setting
  • #109 Pass the index of value datapoint to getPixelValue
  • #130 Read plugin options from plugins.annotation

Types

  • #261 Add initial types

Documentation

  • #224 `enabled: true` in the README.md
  • #197 update vulnerability package reference in sample.

Development

  • #279 calculateLabelPosition cleanup
  • #253 Chart.js v3.0.0-beta.5 compatibility

Thanks to @ShineSmile, @Svetomechc, @aoifef, @benmccann, @extend1994, @holmari, @joshkel, @kurkle, @mafatekhov, @philippemilink, @stockiNail, @strixy and @veggiesaurus

v0.5.7

19 Oct 14:01
Compare
Choose a tag to compare
v0.5.7 Pre-release
Pre-release

Issues Fixed

  • Fix chartArea not yet available when calling setDataLimits, H/T @patotoma and @bendem

Version v0.5.6

18 Oct 14:37
Compare
Choose a tag to compare
Version v0.5.6 Pre-release
Pre-release

New Features

  • Added Codepen screenshot (#6)
  • Added Bower support, H/T @oscarotero

Issues Fixed

Version 0.5.5

20 May 18:10
Compare
Choose a tag to compare
Version 0.5.5 Pre-release
Pre-release

New Features

  • drawTime can be overridden per-annotation (#52)

Issues Fixed

  • Line annotation labels should trigger mouse events (#60)

Version 0.5.4

20 May 17:10
Compare
Choose a tag to compare
Version 0.5.4 Pre-release
Pre-release

Issues Fixed

  • Fixed hidden label when using position: "top" on vertical line label (#55) - thanks @buejoh
  • Fixed support for category, logarithmic, time, and linear scales with non-numeric values (#3, #35, #47, #68) - thanks @yusufozturk
  • Fixed a Javascript error when the plugin is included on a page with a non-supported pie, radar, or polar area chart (#49, #63, #66) - thanks @yusufozturk
  • Fixed a Javascript error in environments that send events as null (#53) - thanks @yusufozturk

Breaking Changes

  • Default annotation.drawTime option changed from afterDraw to afterDatasetsDraw (#51)

Version 0.5.3

20 May 16:53
Compare
Choose a tag to compare
Version 0.5.3 Pre-release
Pre-release

Issues Fixed

  • Added author to package.json. Some services, like Cdn.js, need this info.

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