How to check if series is hidden when a user clicks on legend in ApexCharts #2694
Unanswered
matthijs88
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm using a stacked bar chart with ApexCharts. It is default functionality from ApexChart that clicking on an item in the legend hides that series in the graph. I have annotations that only make sense when all series are shown, so I want to hide these annotations when a user clicks on an item in the legend.
I am currently trying a solution where I listen to the legendClick event, but I'm not sure how to determine if one series is currently hidden.
Beta Was this translation helpful? Give feedback.
All reactions