Skip to content

Releases: chartjs/chartjs-plugin-datalabels

Version 0.5.0

11 Dec 14:49
Compare
Choose a tag to compare

New Features

  • #99 Implement anchor position clamping (docs)
  • 0d7062d Prevent overlapping labels when display: 'auto' (docs) (#78)
  • a8084bf Configure rollup to export the plugin object (docs) (#42)
  • b3c0faf Add support for text stroke width and color (#31)
  • b3c0faf Add support for text shadow blur and color (#95)

Issues Fixed

  • d80b2be Fix reading the device pixel ratio on IE10 (#85)
  • 6dde50f Fix interactions for labels with borders

Documentation

Development

  • 28d1a87 Make the plugin implementation explicitly private (docs)
  • 6a273ca Upgrade dependencies and rollup configs
  • 21b11e3 Sort default options by name and add missing tests
  • a4924e6 Delegate the entire build process to rollup
  • 45d1b14 Update README.md header, doc links and project icon
  • ae8b507 Optimize the npm package size (5x smaller)

Milestone: 0.5.0

Version 0.4.0

03 Aug 08:08
Compare
Choose a tag to compare

New Features

Issues Fixed

  • #54 Fix "Cannot read property '$context' of null"
  • 542ec92 Labels are now hidden for hidden datasets (#51, #77)
  • ab410dd Fix label positioning on retina display (#70)

Documentation

  • f8a0293 Add missing docs "Events" link in README.md

Development

  • 5fd21b8 Cleanup Git and npm ignored files (#46)
  • 765a883 Disable hardware acceleration for unit tests
  • 24246f8 Upgrade dependencies and update test fixtures

Milestone: 0.4.0

Version 0.3.0

21 Mar 16:54
Compare
Choose a tag to compare

New Features

  • #40 Implement label events (enter, leave and click) (docs, samples 1, 2, 3)
  • c9cab49 Labels are now dynamically updated when chart elements are hovered, which allows to change the appearance of the labels using scriptable options and checking the value of context.active (true when the associated element is hovered) (docs, sample) (#22)

Issues Fixed

  • 036ddd6 Fixed labels overlapped by chart elements (#29 #32 #37)
  • 1b141f9 Correctly handle skipped elements (line chart only!) (#30)

Documentation

Milestone: 0.3.0

Version 0.2.0

13 Jan 22:17
Compare
Choose a tag to compare

New Features

  • ee7723c The align option now supports a number that represents the clockwise angle (in degree) but also the following new string presets: 'top', 'right', 'bottom' and 'left' (in addition to 'start', 'end' and 'center') (#9)
  • 30a7e0b Add label opacity option: 0.0 (fully transparent) and 1.0 (fully opaque)

Issues Fixed

  • a40ac53 Prevent labels to be displayed for null data in the default formatter
  • 0273c32 Fix positioning when not aligned vertically or horizontally

Documentation

Development

Milestone: 0.2.0

Version 0.1.0

10 Sep 21:30
Compare
Choose a tag to compare

Initial release, check out the README.md for details.

Milestone: 0.1.0