Dividers option meeaning #170
-
Having a look to the At the moment, setting the dividers option, the box is splitted by 2, ignoring the amount of subelements. In the sample (https://chartjs-chart-treemap.pages.dev/samples/dividers.html), the passed data are the following: const data = [
{category: 'main', value: 1},
{category: 'main', value: 2},
{category: 'main', value: 3},
{category: 'other', value: 4},
{category: 'other', value: 5},
]; and my expectation, maybe wrong, grouping by category, is to have 2 boxes with 2 dividers for main and 1 for other. Instead, there is 1 divider for main and 1 for other. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Looks wrong indeed. As I'm probably the only one ever used that option and my use case was a one time print, maybe the feature should just be removed. |
Beta Was this translation helpful? Give feedback.
Looks wrong indeed. As I'm probably the only one ever used that option and my use case was a one time print, maybe the feature should just be removed.