chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
603 stars 325 forks source link

Put the border options in own object #787

Closed stockiNail closed 1 year ago

stockiNail commented 2 years ago

As it has been implemented in CHART.JS, see PR https://github.com/chartjs/Chart.js/pull/10571, it could helpful to have the same options structure also in this plugin.

Maybe other "aggregation" in a single node could make sense (for instance shadow).

For implementation, you must wait for new major version, being a breaking change.

Opened an issue as reminder.

stockiNail commented 1 year ago

I dont know if makes sense to do it. AFA I have seen, the border object is implemented for scales not for all in v4. Maybe we could wait for a while