-
Notifications
You must be signed in to change notification settings - Fork 19.8k
在柱状图中设置markArea报错 #10074
Copy link
Copy link
Closed
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Metadata
Metadata
Assignees
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Version
2.0
Steps to reproduce
这段代码,在运行时会报如下错误:
Cannot read property '0' of undefined
我想要用echarts绘制一个带有连接线的柱状图。我通过markLine可以绘制连接线,但是我需要在连接区域写样式,并且加入一些标签说明。当我定义markArea时发生了上述报错。
请问我该如何设置markArea?
What is expected?
期望获得一个梯形区域
What is actually happening?
报错!
Cannot read property '0' of undefined