-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
bugenThis issue is in EnglishThis issue is in EnglishregressionSomething no longer works as expected since a certain versionSomething no longer works as expected since a certain versiontopic: datasettopic: marker
Description
Version
latest / playground
Link to Minimal Reproduction
Steps to Reproduce
- Use a candlestick chart with endoce, where x is not 0
- add markLine within view
- observe nothing is shown
- open browser console in devtools
- Look at the rendered error.
Current Behavior
Crash, no candle is shown
Logs in the browser console:
VM2393 about:srcdoc:1 failed to run code TypeError: Cannot read properties of undefined (reading 'ordinalMeta')
at t.getOrdinalMeta (echarts.min.js:45:151210)
at t._getCategory (echarts.min.js:45:245774)
at D_ (echarts.min.js:45:251026)
at P_ (echarts.min.js:45:251677)
at t._doInit (echarts.min.js:45:245079)
at t.initData (echarts.min.js:45:243066)
at echarts.min.js:45:895623
at e.renderSeries (echarts.min.js:45:895756)
at echarts.min.js:45:889914
at e.<anonymous> (echarts.min.js:45:126314)
Expected Behavior
Candlechart renders with lines drawn on top.
That's already the case in the following example - which has only a couple lines different, namely the timestamp is generated at position 0 - and all X encodings are consequently set to 0, too.
Environment
- OS:linux
- Browser: chromium
- Framework: echarts playgroundAny additional comments?
This kindof negates the possibility to have encode - if we're forced to have certain parameters at certain locations in a chart.
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishregressionSomething no longer works as expected since a certain versionSomething no longer works as expected since a certain versiontopic: datasettopic: marker