chartjs-plugin-annotation icon indicating copy to clipboard operation
chartjs-plugin-annotation copied to clipboard

Enable drawTime option as integer to relate the annotation drawing to a specific dataset drawing

Open stockiNail opened this issue 2 years ago • 0 comments

Fix #887

This PR enables the feature to draw an annotation before a specific dataset. This is implemented setting drawTime option as integer which is representing the dataset index. The annotation will draw always before the dataset specified by index. IF the index is not consistent (doesn't represent a valid dataset index) the annotation is not drawn.

drawTime

TODO

  • [x] test cases
  • [x] types
  • [x] documentation

stockiNail avatar May 17 '23 09:05 stockiNail