kurkle / chartjs-chart-treemap

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

Move options to dataset controller configuration #161

Open stockiNail opened 2 years ago

stockiNail commented 2 years ago

Some options are currently defined at element level:

Name Description
label The label for the dataset which appears in the legend and tooltips.
rtl If true, the treemap elements are rendering from right to left.
spacing Fixed distance (in pixels) between all treemap elements.

They cannot be changed depending on the element therefore could make sense to move to controller configuration