Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

What are the possible properties that can be returned by the relayoutData Graph component property?


Been looking for a canonical list of which properties are returned by the relayoutData property in the dcc.Graph component.

Does one exist? I’ve checked the code & docs, but can’t find a reference.


1 Like

In the dash docs the best way to get a handle on relayoutData (while not a canonical list) is the toy example on this page:

In addition to range changes, it will return whether the drag mode is lasso, select, or pan after clicking on the relevant modebar buttons.

While we don’t have a canonical list, you can see how this is being formed here:

And, this event is coming directly from plotly.js, where the event is also named relayout: