Replies: 1 comment 1 reply
-
I have only a partial solution, but maybe it will be helpful. I also have multiple datasets with the same label, so I defined the following function as
This simulates grouping by only displaying each label's name once, but it won't solve your select/deselect issue. 🤷 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been trying to create a stacked bar chart that will have multiple stacked data sets but also allow a data set to be split within the same x axis.


As an example i have monthly sales data for apples, oranges, and pears. I also have 2 sellers (layers) that i need to split the data on.
I modified the online stacked-grouped bar chart using the sample above to show this:
So visually, it looks promising. However, there are multiple data sets used here and I didn't know how to make it in such a way that the legend will show only 3 options: Apples/Oranges/Pears.
If possible, i would like to be able to de-select apples and it should have the effect of de-selecting apples from both groups like this:
but as you can see, i am faced with Apples.L1 and Apples.L2.
Anyway, this can be achieved?
the idea graph would look like this example (which is in excel and is grouped by region)

here's the config i used in the examples:
Beta Was this translation helpful? Give feedback.
All reactions