Releases: chartjs/chartjs-plugin-annotation
Releases · chartjs/chartjs-plugin-annotation
v1.0.0-rc
Essential Links
Breaking Changes
- #366 Add custom scriptable context
Enhancements
- #367 Update for Chart.js v3.0.0-rc.3
- #366 Add custom scriptable context
- #349 Add scriptable test cases for annotation elements
Bugs Fixed
- #370 Resolve element options to concrete values
- #354 Use the new isolated key for animations
- #342 Do not draw box border when width is 0
- #345 Fallback label.drawTime to element.drawTime
Documentation
- #371 Migrate to vuepress-theme-chartjs
- #369 Fix banner on docs
- #363 Docs using VuePress
- #362 Link to samples from sub pages
- #356 Interactive online samples using VuePress
- #355 Update url text
- #353 Add badges to readme
- #352 Deploy as chartjs-ci user
- #351 Need to run from docs folder
- #350 Fix documentation GitHub actions
- #347 Documentation Website
Development
Thanks to @LeeLenaleee, @etimberg, @kurkle and @stockiNail
v1.0.0-beta.4
v1.0.0-beta.3
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
v1.0.0-beta
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
Development
Thanks to @ShineSmile, @Svetomechc, @aoifef, @benmccann, @extend1994, @holmari, @joshkel, @kurkle, @mafatekhov, @philippemilink, @stockiNail, @strixy and @veggiesaurus
v0.5.7
Version v0.5.6
New Features
- Added Codepen screenshot (#6)
- Added Bower support, H/T @oscarotero
Issues Fixed
- Fixed a strict Javascript error (#76), H/T @jonathanlurie
- Fixed a README.md error, H/T @dscush
Version 0.5.5
Version 0.5.4
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 fromafterDraw
toafterDatasetsDraw
(#51)
Version 0.5.3
Issues Fixed
- Added
author
to package.json. Some services, like Cdn.js, need this info.