Skip to content

santam85/chartjs-plugin-annotation

Repository files navigation

chartjs-plugin-annotation.js

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

An annotation plugin for Chart.js >= 3.0.0

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 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 from Dropbox

View this example on CodePen

To-do Items

The following features still need to be done:

  • Box annotation labels
  • Text annotations

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.

About

Annotation plugin for Chart.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 62.1%
  • JavaScript 37.3%
  • TypeScript 0.6%