I need a chart with x-axis as time and multiple y-axis stacked. One temp which is a range from 0 to 10 and humidity which is from 0 to 1.
When I try to use ChartPane, I keep getting exception in my react code.
Here is the error:
ErrorBoundary.js:16 ErrorBoundary caught an error TypeError: Cannot read properties of undefined (reading 'map')
at Object.collectionConfigurationItem (reducer.mjs:41:1)
at u (reducer.mjs:9:1)
at Object.c [as dispatch] (store.mjs:13:1)
at s.dispatch (ConfigurationComponent.mjs:29:1)
at s.componentDidMount (ConfigurationComponent.mjs:22:1)
at invokeLayoutEffectMountInDEV (react-dom.development.js:25172:1)
at invokeEffectsInDev (react-dom.development.js:27390:1)
at commitDoubleInvokeEffectsInDEV (react-dom.development.js:27366:1)
at commitRootImpl (react-dom.development.js:26922:1)
at commitRoot (react-dom.development.js:26721:1) Object
Here is my component
exportdefaultMultiPaneChart;