Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data.slice is not a function #18

Open
ojasmagarwal opened this issue Jun 12, 2024 · 0 comments
Open

Data.slice is not a function #18

ojasmagarwal opened this issue Jun 12, 2024 · 0 comments

Comments

@ojasmagarwal
Copy link

I have been getting this error alot of time, I try to run the dashboard. It is generally when i ask in the context to plot a specific plot between some specific columns.

The error looks like this:

`Unhandled Runtime Error
TypeError: data.slice is not a function

Call Stack
getDisplayedData
node_modules\recharts\es6\chart\generateCategoricalChart.js (146:0)
eval
node_modules\recharts\es6\chart\generateCategoricalChart.js (258:0)
Array.reduce

getAxisMapByAxes
node_modules\recharts\es6\chart\generateCategoricalChart.js (246:0)
getAxisMap
node_modules\recharts\es6\chart\generateCategoricalChart.js (441:0)
eval
node_modules\recharts\es6\chart\generateCategoricalChart.js (731:76)
Array.reduce

updateStateOfAxisMapsOffsetAndStackGroups
node_modules\recharts\es6\chart\generateCategoricalChart.js (729:0)
eval
node_modules\recharts\es6\chart\generateCategoricalChart.js (1904:7)
applyDerivedStateFromProps
node_modules\react-dom\cjs\react-dom.development.js (14018:0)
mountClassInstance
node_modules\react-dom\cjs\react-dom.development.js (14490:0)
updateClassComponent
node_modules\react-dom\cjs\react-dom.development.js (19689:0)
beginWork
node_modules\react-dom\cjs\react-dom.development.js (21611:0)
HTMLUnknownElement.callCallback
node_modules\react-dom\cjs\react-dom.development.js (4164:0)
Object.invokeGuardedCallbackDev
node_modules\react-dom\cjs\react-dom.development.js (4213:0)
invokeGuardedCallback
node_modules\react-dom\cjs\react-dom.development.js (4277:0)
beginWork$1
node_modules\react-dom\cjs\react-dom.development.js (27451:0)
performUnitOfWork
node_modules\react-dom\cjs\react-dom.development.js (26557:0)
workLoopSync
node_modules\react-dom\cjs\react-dom.development.js (26466:0)
renderRootSync
node_modules\react-dom\cjs\react-dom.development.js (26434:0)
recoverFromConcurrentError
node_modules\react-dom\cjs\react-dom.development.js (25850:0)
performConcurrentWorkOnRoot
node_modules\react-dom\cjs\react-dom.development.js (25750:0)
workLoop
node_modules\scheduler\cjs\scheduler.development.js (266:0)
flushWork
node_modules\scheduler\cjs\scheduler.development.js (239:0)
MessagePort.performWorkUntilDeadline
node_modules\scheduler\cjs\scheduler.development.js (533:0)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant