Hello!
I’m new to the workshop and still need to learn a lot! I’m seeking for a help or assistance.
In the workshop, I created a filter list. Using the same object set and the filter output as a selection, I created both a bar chart and a pie chart. However, they are grouped by different categories. Is there a way to make these two charts interact with each other—similar to a contour analysis—so that selecting or drilling down in one chart affects the other?
Hey! Looks like you need to enable “Selection as filter” on each chart layer. This will output an object set filter variable you can wire cross-chart.
Setup:
-
On your bar chart layer, enable “Selection as filter” — outputs an object set filter variable.
-
Do the same on your pie chart layer.
-
Apply the bar chart’s filter output to the pie chart’s input object set, and vice versa.
Result: clicking a bar filters the pie chart; clicking a slice filters the bar chart.
Docs: Chart XY widget — “Selection as filter” configuration
Thank you very much for your response!
Here is what I have been trying:
-
I used Object Set 1 to create a filter list → this produced Filter List 1 Filter Output.
-
On the bar chart, I set Object Set 1 as the input object set variable → then applied Filter List 1 Filter Output as “selection as filter.” (This bar chart uses year as the group property.)
-
On the pie chart, I also set Object Set 1 as the input object set variable → then applied Filter List 1 Filter Output as “selection as filter.” (This pie chart uses company name as the group property.)
When I make a selection from the filter list, the bar chart only responds to the year filter, and the pie chart only responds to the company name filter.
My goal is for all three components to interact with each other, regardless of which property is selected.
To confirm my understanding:
-
Create a filter list using Object Set 1 → this produces Filter List 1 Filter Output.
-
Apply Filter List 1 Filter Output as the input data.
I tried applying Filter List 1 Filter Output to the input object set variable, but I couldn’t use the filter output as an object set variable because I assume it isn’t categorized as one.
Please let me know if I’m missing a step or if I’m misunderstanding how this should work.
Again, thank you very much!