Version
5.3.3
Link to Minimal Reproduction
Steps to Reproduce
[Line Chart] - Set visualMap.pieces[].lte
to null
Current Behavior
Uncaught TypeError: Cannot read properties of undefined (reading 'coord')
Expected Behavior
Color should applied from 0 to max value.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
3条答案
按热度按时间rvpgvaaj1#
This issue is labeled with
difficulty: easy
.@erzenhaxhi Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
Please have a look at How to debug ECharts if you'd like to give a try. 🤓
gab6jxml2#
Why set
visualMap.pieces[].lte
to null ? What is the reason behind it?Also, does it make sense to use series type='line' with visualMap piecewise? I think not.
Series type bar or scatter work fine.
Demo Code
rwqw0loc3#
same as #18268 , bug confirmed
I did not notice there was an actual JavaScript error generated:
failed to run code TypeError: Cannot read properties of undefined (reading 'coord')