kurkle / chartjs-chart-treemap

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

borderWidth is not managed correctly for the captions size calculation #113

Closed stockiNail closed 2 years ago

stockiNail commented 2 years ago

When the calculation to have the space for the captions for groups doesn't check if the borderWidth is configured as object.

https://github.com/kurkle/chartjs-chart-treemap/blob/200396b73ba4b0f3242bd9215f1ee1af355076f5/src/controller.js#L40