Hi,
I have implemented plotly.js filter transform for some data. I am trying to reset the filter, and restore data. But when I hover on some of the restored data, getting an error:
Uncaught TypeError: Cannot read property ‘length’ of undefined
at Object.makeEventData (plotly-latest.min.js:7)
at plotly-latest.min.js:7
at plotly-latest.min.js:7
at o (plotly-latest.min.js:7)
at Object.$t.throttle (plotly-latest.min.js:7)
at Object.to.hover (plotly-latest.min.js:7)
at SVGRectElement.s.onmousemove (plotly-latest.min.js:7)
var update = {
transforms: [{}]
}
Plotly.update(‘chartdiv’, update);
This is how I’m clearing the transform. Is it not the right way? Any help appreciated. Thank you.