Chartjs Plugin Datalabels Versions Save

Chart.js plugin to display labels on data elements

v0.5.0

5 years ago

New Features

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

Issues Fixed

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

Documentation

  • #101 Fix samples link in README.md
  • 50de9be4 Migrate the documentation to VuePress (home)
  • 3ac80b88 Integrate DocSearch (Algolia)

Development

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

Milestone: 0.5.0

v0.4.0

5 years ago

New Features

  • 499dbb70 Implement label clipping (docs) (#64)

Issues Fixed

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

Documentation

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

Development

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

Milestone: 0.4.0

v0.3.0

6 years ago

New Features

  • #40 Implement label events (enter, leave and click) (docs, samples 1, 2, 3)
  • c9cab4999 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

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

Documentation

  • bea5b4be8 Add documentation and a sample for custom labels (docs, sample) (#24)

Milestone: 0.3.0

v0.2.0

6 years ago

New Features

  • ee7723c7d 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)
  • 30a7e0b4a5 Add label opacity option: 0.0 (fully transparent) and 1.0 (fully opaque)

Issues Fixed

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

Documentation

Development

  • f132f366d9 Fix deprecated 'dest' and 'entry' rollup configs
  • 0c2ddbe6d Setup Karma and Jasmine unit test environment
  • e18a2d5ff9 Setup Istanbul code coverage for CodeClimate
  • e92b5b85c Add unit tests for anchor and align options
  • 7cb629b8f Use the Chart.js shared ESLint config
  • 028840c83 Move utility methods in src/utils.js
  • aa97bbfb43 Refactor label model and logic in src/label.js
  • cccea332d8 Add unit tests for default options

Milestone: 0.2.0

v0.1.0

6 years ago

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

Milestone: 0.1.0