chartjs / chartjs-plugin-datalabels

Chart.js plugin to display labels on data elements
https://chartjs-plugin-datalabels.netlify.app
MIT License
873 stars 473 forks source link

support custom positioners #366

Open sgratzl opened 1 year ago

sgratzl commented 1 year ago

https://github.com/chartjs/chartjs-plugin-datalabels/blob/61e38903333a3da882f1b64dac14af16e8c52d17/src/positioners.js#L167 specifies custom behavior for different chart.js elements. I'm developing a bunch of chartjs plugins e.g., https://github.com/sgratzl/chartjs-chart-geo and it would be great if I can extent the list of custom positioners for new chart.js elements.