Closed
Description
I'm trying to upgrade my crossfilter example to be more declarative by using react()
but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0a3923caf29e4d3feb960ec31234/script.js
While drag-selecting on top of the Infant Mortality chart, the dashed-line selection box does not appear, and errors appear in the console:
plotly-latest.min.js:7 Uncaught (in promise) TypeError: Cannot read property '0' of undefined
at Object.m.supplyDefaultsUpdateCalc (plotly-latest.min.js:7)
at Object.r.react (plotly-latest.min.js:7)
at redraw (script.js:64)
at n.hist_im_select (script.js:121)
at n.emit (plotly-latest.min.js:7)
at HTMLDivElement.t.emit (plotly-latest.min.js:7)
at plotly-latest.min.js:7
Metadata
Metadata
Assignees
Labels
No labels