Configure options in Plotly component

It would be great to be able to configure the options for i.e. showing the toolbar, removing some buttons, etc. within the Retool plotly component.

e.g. this codepen shows what I'd like to achieve - remove some buttons from the mode bar, and show it

Is there a way to do this now, or would it be a new feature?

Cheers,

Jack

You can fine-tune the graph via the JSON field for the plotly graph. Not everything is built-in "natively" yet as far as I know.

Not for this purpose, as far as we can tell.

Can you provide a working JSON implementation? Retool only exposes data/layout, not config.

Cheers,

Jack

What do you mean by "config"? If you want to tune the visual appearance of your data you can use the "layout" JSON. Not sure you can do the axis zoom...

I found it incredibly hard to find good documentation of this tho (Plotly's side).

Take a look at the codepen example - you can configure the mode bar and the options available to e.g. download the chart as an image.

Retool doesn't support interacting with that configuration from their Plotly component.

Does that make sense? It's not a visual appearance question, it is a chart function one.

Ooh, got ya :metal: Yeah that would be cool! The menu is enabled by default and can be disabled when initializing plotly, so they did that for a reason. But exposing some of that in the editor would be awesome.

@minijohn any updates on this feature? I want to be able to download plotly chart as an image

Thanks,

Dusty

@dusty-campanella-maxa I don't know :stuck_out_tongue: I don't work for Retool. Not aware that it's on the roadmap afaik