Forum Discussion
JoelTib
3 years agoFrequent Visitor
Dynamic Stacked Bar Chart
Hello Everyone, I am hoping for some help with how to change the legend items displayed on a stacked bar chart based on a selection made with a filter. In short, we record the number of inci...
TomMartens
3 years agoSuper User
Hey JoelTib ,
basically the legend is dynamic by default, see the gif
Maybe you checked the option "Show Items with no data":
If this is the case and you did this intentionally, then there is no way to achieve what you are looking for. The reason for this is simple: You can not define the content for the legend based on a condition like "customer tpye."
The content is for the legend is data or all values.
Hopefully, this provides some additional insights.
Regards,
Tom