Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chartjs/chartjs-plugin-annotation
Annotation plugin for Chart.js
https://github.com/chartjs/chartjs-plugin-annotation
annotation chartjs plugin
Last synced: 3 months ago
JSON representation
Annotation plugin for Chart.js
- Host: GitHub
- URL: https://github.com/chartjs/chartjs-plugin-annotation
- Owner: chartjs
- License: mit
- Created: 2016-05-13T02:11:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T06:22:28.000Z (7 months ago)
- Last Synced: 2024-05-29T20:00:25.178Z (5 months ago)
- Topics: annotation, chartjs, plugin
- Language: JavaScript
- Size: 40.3 MB
- Stars: 589
- Watchers: 13
- Forks: 318
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - annotation
README
# chartjs-plugin-annotation.js
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/chartjs/chartjs-plugin-annotation/ci.yml?branch=master)](https://github.com/chartjs/chartjs-plugin-annotation/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/chartjs/chartjs-plugin-annotation/badge.svg?branch=master)](https://coveralls.io/github/chartjs/chartjs-plugin-annotation?branch=master)
[![release](https://img.shields.io/github/v/release/chartjs/chartjs-plugin-annotation?include_prereleases)](https://github.com/chartjs/chartjs-plugin-annotation/releases)
[![npm (latest)](https://img.shields.io/npm/v/chartjs-plugin-annotation/latest)](https://www.npmjs.com/package/chartjs-plugin-annotation/v/latest)
[![documentation](https://img.shields.io/static/v1?message=Documentation&color=informational)](https://www.chartjs.org/chartjs-plugin-annotation/index)An annotation plugin for Chart.js >= 4.0.0
---
> This plugin needs to be registered. It does not function as inline plugin.
---For Chart.js 3.7.0 to 3.9.1 support, use [version 2.2.1 of this plugin](https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v2.2.1)
For Chart.js 3.0.0 to 3.6.2 support, use [version 1.4.0 of this plugin](https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.4.0)
For Chart.js 2.4.0 to 2.9.x support, use [version 0.5.7 of this plugin](https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v0.5.7)
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 two or more axes, including pie, radar, and polar area charts.
![Example Screenshot](docs/guide/banner.png)
[View this example](https://www.chartjs.org/chartjs-plugin-annotation/latest/samples/intro.html)
## Documentation
You can find documentation for chartjs-plugin-annotation at [www.chartjs.org/chartjs-plugin-annotation](https://www.chartjs.org/chartjs-plugin-annotation/index).
## Contributing
Before submitting an issue or a pull request to the project, please take a moment to look over the [contributing guidelines](CONTRIBUTING.md) first.
## License
Chart.Annotation.js is available under the [MIT license](LICENSE.md).