Possible to *static* add trace in Plotly?

I am curious if Plotly can allow for a trace to be added to a plot - but for that trace not to be interactive itself? Something of the form:

Plotly.addTraces(el.id, Traces);

Will usually add the Traces object to the element (overall plot). However, these overlaid Traces will usually have some hovering information. I would like the Traces to not be interactive with the user at all. Thank you for sharing any knowledge.

Try settting hoverinfo: 'none' to those traces in Traces.

1 Like