Image symbol disappeared after legend selection is toggled in line series.
See original GitHub issue使用symbol进行自定义拐点图片时,添加图例后试用图例控制折线图的显示隐藏后,在第一次显示自定义图片后,后面不再显示
option = {
tooltip : {
trigger: 'axis',
},
legend: {
data:['邮件营销']
},
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [{
name:'邮件营销',
data: [120, 200, 150, 80, 70, 110, 130],
type: 'line',
symbol: 'image://https://www.skytk.cn/wp-content/uploads/2018/06/fac.png',
symbolSize: 20,
lineStyle: {
normal: {
color: 'green',
width: 4,
type: 'dashed'
}
},
itemStyle: {
normal: {
borderWidth: 3,
borderColor: 'yellow',
color: 'blue'
}
}
}]
};
第一次加载时
点击图例隐藏再显示后
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Origin Help - Graph Legends - OriginLab
To hide legend symbol(s): Right-click on the legend and select Legend: Hide Legend Symbol from context menu. This selection is equivalent to setting...
Read more >NaN point value makes series disappear@3.19.0 · Issue #1559
Toggling one legend on the demo shown on below link seems to toggle all series at once. Experience this when library is deployed...
Read more >To hide an item from display in the legend | Power BI Exchange
Dear all, I have a line and stacked column chart. The line is only used to show the total of the columns and...
Read more >Show or hide a chart legend or data table - Microsoft Support
Select a chart and then select the plus sign to the top right. Point to Legend and select the arrow next to it....
Read more >Drawing objects do not plot and are missing from print preview ...
Go to "Form View" tab > Select the colour being used for the items not plotting. For example, layer 0 is set to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in https://github.com/apache/incubator-echarts/pull/11515
+1