chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
609 stars 329 forks source link

Enable opacity option to the labels when the content is an image or canvas #846

Closed stockiNail closed 1 year ago

stockiNail commented 1 year ago

Fix #844 This PR is enabling the opacity option to the labels. The option is overriding what is set by the user in the style of the element (image or canvas). If not set, the plugin is using the opacity of the style or 1 if not set.

stockiNail commented 1 year ago

Thank you @LeeLenaleee