Version
^5.4.3
Link to Minimal Reproduction
n/a
Steps to Reproduce
We got a sentry report for this error. We haven't been able to reproduce locally.
Errors because invertedIndices is undefined.
../../../../node_modules/echarts/lib/data/SeriesData.js in SeriesData.prototype.rawIndexOf at line 721:20
if (!invertedIndices) {
throw new Error('Do not supported yet');
}
}
var rawIndex = invertedIndices[value]; // throws error
if (rawIndex == null || isNaN(rawIndex)) {
return INDEX_NOT_FOUND;
}
Current Behavior
Throws error TypeError: Cannot read properties of undefined (reading '0')
Expected Behavior
Doesn't throw error
Environment
- OS: Windows >= 10
- Browser: Chrome 131.0.0
- Framework: React via "echarts-for-react": "^3.0.2"
Any additional comments?
No response