Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
option = { "color": [ rgba(25, 101, 225, 0.64), "#3EB349", "#FF9214", "#FB4932", "#6366F1", "#F43F5E", "#0EA5E9", "#D946EF", "#14B8A6", "#A855F7" ], "xAxis": { "type": "category", "alignTicks": true, "show": true, "name": "x1", }, "yAxis": { "type": "value", "show": true, "nameLocation": "end", "name": "y1" }, "dataset": { "source": [ [ "趋势", "数据一", "数据二", "数据三" ], [ "2014", 38, 14, 60 ], [ "2015", 39, 22, 55 ], [ "2016", 33, 17, 56 ], [ "2017", 36, 18, 49 ], [ "2018", 39, 25, 53 ], [ "2019", 37, 23, 53 ], [ "2020", 42, 22, 57 ], [ "2021", 44, 21, 61 ], [ "2022", 38, 29, 59 ] ] }, "series": [ { "type": "line", "areaStyle": {}, }, { "type": "line", "areaStyle": {}, }, { "type": "line", "areaStyle": {}, }, ] };
Current Behavior
折线图使用数据集然后开启面积图显示错误
Expected Behavior
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
2条答案
按热度按时间s5a0g9ez1#
@longchuxiong It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Bug] Line chart using dataset open area chart display incorrect issue
BODY
Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
option = { "color": [ rgba(25, 101, 225, 0.64), "#3EB349", "#FF9214", "#FB4932", "#6366F1", "#F43F5E", "#0EA5E9", "#D946EF", "#14B8A6", "#A855F7" ], "xAxis": { "type": "category", "alignTicks": true, "show": true, "name": "x1", }, "yAxis": { "type": "value", "show": true, "nameLocation": "end", "name": "y1" }, "dataset": { "source": [ [ "trend", "Data One", "Data Two", "Data Three" ], [ "2014", 38, 14, 60 ], [ "2015", 39, twenty two, 55 ], [ "2016", 33, 17, 56 ], [ "2017", 36, 18, 49 ], [ "2018", 39, 25, 53 ], [ "2019", 37, twenty three, 53 ], [ "2020", 42, twenty two, 57 ], [ "2021", 44, twenty one, 61 ], [ "2022", 38, 29, 59 ] ] }, "series": [ { "type": "line", "areaStyle": {}, }, { "type": "line", "areaStyle": {}, }, { "type": "line", "areaStyle": {}, }, ] };
Current Behavior
Line chart using dataset and then opening area chart shows error
Expected Behavior
Environment
Any additional comments?
No response
jgovgodb2#
This seems to be the expected result to me. The third series have large values and if you change them to be smaller, you can better understand the layering.