Disabling interactions on a chart in Retool?

Is there any way to disable clicking on graphs and having them show a selection? For my specific example, I have a bar graph that looks like this:

image

But if I click on a bar, then it seems to highlight that, even though it doesn't actually do anything nor do I want it to:
image

Is there a way to disable this feature?

I believe you can go into the Plotly Interactions layout and remove the flags on the "clickmode" property.

By default they should be set to "select+event" which means that the selection flag is enabled as well as an event trigger for what do if something is selected.

More property layout info: plotly.graph_objects.Layout — 5.15.0 documentation

1 Like