Skip to content

Releases: chartjs/chartjs-plugin-annotation

v3.1.0

16 Oct 16:23
0d6246d
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #825 Enable centered label drawing for doughnut controllers
  • #939 Change borderCapStyle and borderJoinStyle defaults to be compatible with SKIA canvas
  • #889 Enable drawTime option as integer to relate the annotation drawing to a specific dataset drawing
  • #892 Add getAnnotations function to plugin and remove _getState private one
  • #869 Add defined and loaded elements to annotation context
  • #902 Add hitTolerance option to all annotations

Types

  • #942 Fix init option (initial animation) type
  • #894 Remove default type from module augmentation of PluginOptionsByType

Documentation

  • #891 Add annotations option to the plugin configuration documentation
  • #916 Replace chart.min.js by chart.umd.js

Development

  • #951 Bump package to 3.1.0
  • #949 Bump socket.io from 4.6.1 to 4.8.0
  • #948 Bump rollup from 3.17.3 to 3.29.5
  • #945 Bump serve-static and express
  • #946 Bump send and express
  • #943 Bump body-parser and express
  • #944 Bump elliptic from 6.5.4 to 6.5.7
  • #932 Bump ws from 6.2.2 to 6.2.3
  • #927 Bump express from 4.18.2 to 4.19.2
  • #925 Bump follow-redirects from 1.15.4 to 1.15.6
  • #923 Bump ip from 1.1.8 to 1.1.9
  • #920 Bump follow-redirects from 1.15.2 to 1.15.4
  • #912 Bump @babel/traverse from 7.21.2 to 7.23.2
  • #914 Bump browserify-sign from 4.2.1 to 4.2.2
  • #904 Bump word-wrap from 1.2.3 to 1.2.4
  • #893 Bump socket.io-parser from 4.2.2 to 4.2.3

Thanks to @JimmyGouraud, @LeeLenaleee, @dependabot, @dependabot[bot], @fteamkr, @mlohbihler and @stockiNail

v3.0.1

15 May 12:07
d2456f0
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #885 Fix documentation after setting plugin as module

Documentation

  • #885 Fix documentation after setting plugin as module

Development

  • #888 Bump to version 3.0.1

Thanks to @stockiNail

v3.0.0

10 May 18:34
7f7e35b
Compare
Choose a tag to compare

Essential Links

Breaking Changes

  • #838 Set the plugin as module
  • #863 Define default init animation logic to each annotation element

Enhancements

  • #863 Define default init animation logic to each annotation element

Bugs Fixed

  • #877 Fix compile errors when using multiple plugins

Documentation

  • #882 Update migration guide for version 3

Development

  • #883 Bump to version 3.0.0
  • #838 Set the plugin as module
  • #881 Bump engine.io from 6.4.1 to 6.4.2

Thanks to @SebastiaanSafeguard, @dependabot, @dependabot[bot], @kurkle and @stockiNail

v2.2.1

15 Mar 16:22
e74f362
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #867 Fix init option type setting it as optional

Types

  • #867 Fix init option type setting it as optional

Development

  • #868 Bump to version 2.2.1

Thanks to @stockiNail

v2.2.0

14 Mar 20:47
842bafc
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #755 Enable initial animation on annotations
  • #801 Enable different fonts and colors configuration on multiline labels
  • #846 Enable opacity option to the labels when the content is an image or canvas
  • #754 Enable the line curve in the line annotation
  • #744 Add `beforeDraw` and `afterDraw` hooks to the annotations

Bugs Fixed

  • #851 Fix center coordinates calculation for point and polygon annotations

Types

  • #849 Fix font type definition to be partial

Documentation

  • #858 Remove label node from point annotations from init samples
  • #842 Add sample using gradient created by element dimension
  • #843 Add cartesian plane sample to show a advanced use of annotations
  • #834 Add sample for label auto scaling during chart resize

Development

  • #861 Bump to version 2.2.0
  • #860 Fix value stored in element options for indexable option
  • #853 Update libraries dependencies versions
  • #845 Bump http-cache-semantics from 4.1.0 to 4.1.1
  • #841 Use isFunction helper of Chart.js instead of internal check
  • #839 Bump ua-parser-js from 0.7.31 to 0.7.33

Thanks to @dependabot, @dependabot[bot] and @stockiNail

v2.1.2

12 Jan 11:32
60a2ceb
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #832 Add exports to manage "import" and "require" inclusions

Documentation

  • #826 Fix links with anchors adding md extension in the documentation
  • #830 Fix documentation about label annotation and its positioning

Development

  • #833 Bump to version 2.1.2

Thanks to @stockiNail

v2.1.1

30 Dec 09:28
2c4252a
Compare
Choose a tag to compare

Essential Links

Documentation

  • #823 Fix build status badge in README
  • #821 Remove autocolors plugin from doc going to Chart.js color plugin

Development

  • #822 Bump to version 2.1.1
  • #824 Remove destroy plugin hook and replaced with afterDestroy
  • #817 Bump decode-uri-component from 0.2.0 to 0.2.2
  • #816 Update GHA versions
  • #812 Bump engine.io and socket.io

Thanks to @dependabot, @dependabot[bot] and @stockiNail

v2.1.0

17 Nov 21:21
08f92b8
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #749 Enable label on ellipse annotation
  • #740 Enable callout in the label of line annotation

Bugs Fixed

  • #808 Change CHART.JS dependency to version 4

Documentation

  • #802 Fix the scales configuration of the basic label sample
  • #799 Add new position option behavior for line label to migration guide 2
  • #793 Add id option documentation to all annotations

Development

  • #810 Bump minimatch from 3.0.4 to 3.1.2
  • #809 Bump ansi-regex from 4.1.0 to 5.0.1
  • #806 Bump socket.io-parser from 4.0.4 to 4.0.5

Thanks to @dependabot, @dependabot[bot] and @stockiNail

v2.0.1

19 Aug 16:53
3c80e35
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #790 Manage line label visibility when chart is zooming or panning

Development

  • #791 Bump to version 2.0.1
  • #780 Fix typo

Thanks to @LeeLenaleee and @stockiNail

v2.0.0

26 Jul 14:19
676c456
Compare
Choose a tag to compare

Essential Links

Breaking Changes

  • #764 Remove label clipping to box annotation size
  • #759 Change and reorder the types definitions
  • #727 Enable line annotation label as label sub-element
  • #630 Move element fallback to plugins.annotation.common
  • #725 Enable box annotation label as label sub-element
  • #723 Require at least chartjs v3.7
  • #720 Reduce visibility of some line annotation element methods
  • #716 Remove dblclick hook to prepare chart redrawing from an event hook
  • #706 Normalize annotations elements to be based on common box model
  • #703 Change enabled to display option in all nodes of annotations
  • #702 Remove x/yPadding options from the label of line annotation
  • #701 Remove cornerRadius option from box and line annotations
  • #659 Enable interaction mode support for events
  • #655 Enable stacked scales and with reverse option support
  • #678 Use scale defined in the chart when x/y ScaleID options are not set

Enhancements

  • #738 Add z option to all annotations
  • #731 Callout position calculated when label is drawn
  • #725 Enable box annotation label as label sub-element
  • #717 Enable event handlers to indicate chart should be re-drawn
  • #659 Enable interaction mode support for events
  • #655 Enable stacked scales and with reverse option support
  • #678 Use scale defined in the chart when x/y ScaleID options are not set

Bugs Fixed

  • #742 Use margin option in the callout check for being shown
  • #630 Move element fallback to plugins.annotation.common

Types

  • #759 Change and reorder the types definitions
  • #737 Add point option to polygon annotation options type
  • #733 Add documentation and type for 'common' plugin option

Documentation

  • #771 Add API docs
  • #758 Remove animation properties from documentation, not used anymore
  • #760 Add element diagrams to the annotation types guide
  • #752 Update line annotation diagram to describe new element structure
  • #751 Add sample how to select annotations
  • #747 Adds common annotation options section in the documentation
  • #733 Add documentation and type for 'common' plugin option
  • #722 Add JSDoc to exported functions
  • #724 Update min version req in readme
  • #721 Add sample about interaction options
  • #719 Change default interaction options in chart defaults for the samples
  • #715 Move v3-migration.md file in the documentation
  • #709 Add migration guide v2 section to getting started page

Development

  • #777 Bump to version 2.0.0
  • #756 Bump eventsource from 1.1.0 to 1.1.1
  • #743 Reduce complexity for resolving the label callout position
  • #736 Move interaction object at top level of plugin options
  • #735 Improve usage of rotation option in callout management
  • #734 Change tests configuration using new 'common' plugin option
  • #729 Bump async from 2.6.3 to 2.6.4
  • #723 Require at least chartjs v3.7
  • #712 Bump minimist from 1.2.5 to 1.2.6
  • #711 Replace deprecated String.prototype.substr()

Thanks to @CommanderRoot, @LeeLenaleee, @dependabot, @dependabot[bot], @kurkle and @stockiNail