kurkle / chartjs-chart-treemap

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

Move options to dataset controller configuration #161

Open stockiNail opened 1 year ago

stockiNail commented 1 year 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