chartjs-plugin-annotation
chartjs-plugin-annotation copied to clipboard
Annotation plugin for Chart.js
This PR is enabling the `callout` options in the label of line annotation. ### TODO - [x] test cases - [x] types - [x] documentation - [x] samples
This PR is enabling the line curve representation by the line annotation.  | Option | Type | Default | Description | :-- | :-- | :-- | :-- |...
This PR is enabling the labeling of the ellipse annotation. ### TODO - [x] test cases - [x] types - [x] documentation - [x] samples
This PR is adding before/after draw hooks in order to allow the user to apply whatever needed customization on out-of the-box annotations. Fix #146. The hooks will be invoked once...
Well, I'll try to ask here, trying to use both plugins ``` const options = useMemo(() => ({ plugins: { zoom: zoomOptions, annotation: annotationOptions, legend: { display: false }, tooltip:...
This PR is enabling the possibility to the user to set the animation to the annotations when they are drawing at chart initialization. It adds an options to all annotations:...
As reply to: https://github.com/chartjs/chartjs-plugin-annotation/pull/740#issuecomment-1134514169 I'm sure I missed some common options, but those can be added in subsequent pull requests.
Hi, I am trying to create the following label in my graph:  I am, however, unable to make the second line bold, unless i either create 2 labels or...
I want adjust label position according to his width with this code: ``` { drawTime: 'beforeDraw', type: 'label', color: 'rgba(0, 32, 51, 0.6)', font: { size: 10, }, xValue: x,...
Hey All, I know that I can use the following: ```js layout: { padding: { left: 0, right: 30, top: 0, bottom: 0 } }, ``` to create padding from...