Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.0.0-beta.2
### Steps to reproduce
Setup a candlestick chart with encoded data with custom dimension names and zooming. It throws the following error
```
Unkown dimension open
validateDimensions @ echarts.js:32773
List.each @ echarts.js:32048
SliderZoomView._renderDataShadow @ echarts.js:75310
SliderZoomView._buildView @ echarts.js:75157
SliderZoomView.render
```
### What is expected?
Custom dimensions like "Open" instead of default dimension "open" should work.
### What is actually happening?
It is throwing error.
---
While building the zoom slider, it gets the shadowDim in CandlestickSeries.js which is "open" which is being validated without mapping it back to the dimensions defined in the dataset.
Contributor guide
Assessment
This issue has not been assessed yet.