You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not really possible to use extendTraces with this library, which is react-plotly.js, the ReactJS binding for plotly.js. With this library you just specify the full data/layout and the plot is efficiently redrawn to the new data. If you wish to use extendTraces you will not be able to use react-plotly.js.
bitcoinvsalts, sabard, jeremyvol, cwlowder, donnyesq and 6 more
Uncaught Error: indices must be valid indices for gd.data.
at z (plotly-latest.min.js:formatted:115679)
at plotly-latest.min.js:formatted:115705
at D (plotly-latest.min.js:formatted:115712)
at Object.t [as extendTraces] (plotly-latest.min.js:formatted:116859)
at (index):1432
I want to show multiple data on the same chart. the user may select or deselect the checkboxes to add or delete traces. the data are coming from AJAX. all the received data are tested and are valid.
any suggestions?
Activity
nicolaskruchten commentedon Jun 19, 2018
It's not really possible to use
extendTraces
with this library, which isreact-plotly.js
, the ReactJS binding for plotly.js. With this library you just specify the full data/layout and the plot is efficiently redrawn to the new data. If you wish to useextendTraces
you will not be able to usereact-plotly.js
.gavargas22 commentedon Jun 19, 2018
I see, thank you for your help!
minaee commentedon Mar 6, 2021
I have the same error:
the
console
lines print :console log of error:
I want to show multiple data on the same chart. the user may select or deselect the checkboxes to add or delete traces. the data are coming from AJAX. all the received data are tested and are valid.
any suggestions?
mthielvoldt commentedon Nov 15, 2024
I had the same needs, and seem to have "it working" ™ (meaning my plot does update with the new data) with the following sample.