kurkle / chartjs-chart-treemap

Chart.js module for creating treemap charts
MIT License
140 stars 34 forks source link

borderRadius? #103

Closed hisenberg1 closed 2 years ago

hisenberg1 commented 2 years ago

Is there a way to have the treemap boxes drawn with rounded corners (borderRadius). The ChartJS barChart has a borderRadius option (https://www.chartjs.org/docs/latest/charts/bar.html#borderradius). It would give the treemap a nice modern look. Thank you.

stockiNail commented 2 years ago

This new enhancement could be in conflict with the borderWidth option set as object. The quickest way to implement it could be that when the borderWidth is set as object, the borderRadius will be ignored. @kurkle what do you think?