Releases: chartjs/chartjs-plugin-datalabels
Releases · chartjs/chartjs-plugin-datalabels
Version 0.5.0
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
- #101 Fix samples link in
README.md
- 50de9be Migrate the documentation to VuePress (home)
- 3ac80b8 Integrate DocSearch (Algolia)
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
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
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
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) and1.0
(fully opaque)
Issues Fixed
- a40ac53 Prevent labels to be displayed for
null
data in the defaultformatter
- 0273c32 Fix positioning when not aligned vertically or horizontally
Documentation
- #7 Fix
options.md
doc table formatting. Thanks @CNTRS - 2d99eb4 Add bubble sample
- bd80224 Add npm, jsDelivr and GitHub stats badges
Development
- f132f36 Fix deprecated 'dest' and 'entry' rollup configs
- 0c2ddbe Setup Karma and Jasmine unit test environment
- e18a2d5 Setup Istanbul code coverage for CodeClimate
- e92b5b8 Add unit tests for
anchor
andalign
options - 7cb629b Use the Chart.js shared ESLint config
- 028840c Move utility methods in src/utils.js
- aa97bbf Refactor label model and logic in src/label.js
- cccea33 Add unit tests for default options
Milestone: 0.2.0