Hi.
This topic is for sharing with the community a custom dash component to update data from multiple traces in a dcc.Graph. This library is based on the " mydcc.Change_trace" code of GitHub - jimmybow/mydcc: My Dash Core Components. repo and it was modified for multiple traces.
I published a dash example on my GitHub: update-trace-dash-plotly
You can install it with: pip install dash_update_data_components
I don’t know javascript, I just changed a little bit the code of jimmybow
to full fit my expectations. I have not tried to change the x
,y
of a trace, just colour
.
I hope this library helps you.
Example: