JSPM

  • Created
  • Published
  • Downloads 594244
  • Score
    100M100P100Q190667F
  • License MIT

Annotations for Chart.js

Package Exports

  • chartjs-plugin-annotation
  • chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js
  • chartjs-plugin-annotation/dist/chartjs-plugin-annotation.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chartjs-plugin-annotation) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

chartjs-plugin-annotation.js

GitHub Workflow Status Coverage Status release npm (latest) documentation Awesome

An annotation plugin for Chart.js >= 3.0.0


This plugin needs to be registered. It does not function as inline plugin.


For Chart.js 2.4.0 to 2.9.x support, use version 0.5.7 of this plugin

This plugin draws lines, boxes, points, labels, polygons and ellipses on the chart area.

Annotations work with line, bar, scatter and bubble charts that use linear, logarithmic, time, or category scales. Annotations will not work on any chart that does not have exactly two axes, including pie, radar, and polar area charts.

Example Screenshot

View this example

Documentation

You can find documentation for chartjs-plugin-annotation at www.chartjs.org/chartjs-plugin-annotation.

Contributing

Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.

License

Chart.Annotation.js is available under the MIT license.