How to disable clicking on a datapoint in a bar chart? #3063
Unanswered
cgregurich
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a bar chart, and I want to be able to trigger dataPointSelection programmatically, however I don't want the user clicking a datapoint to do anything. Currently I can't figure out how to accomplish this; at the very least, the datapoint's color will be toggled when clicked on. I could fix this visual issue by setting the active state's filter to none, but then this would break the desired functionality of selecting a datapoint programmatically. Does anyone know how I can do this? Is there maybe another way to dynamically control the colors of the datapoints? I can set the datapoints when the chart is created, but I want the colors to be reactive based on some user action without visually re-rendering the chart.
Beta Was this translation helpful? Give feedback.
All reactions