echart How to display only one of the two line charts by default and hide the other
大家讲道理2017-05-17 10:08:54
legend → Just set selectedMode to "single"
http://echarts.baidu.com/opti...
某草草2017-05-17 10:08:54
Set lengthend.data value
legend: {
data:['会员总数']
},
This will only display the legend of the total number of members
我想大声告诉你2017-05-17 10:08:54
legend.selected Object
Legend selected status table.
Example:
selected: {
// 选中'系列1'
'系列1': true,
// 不选中'系列2'
'系列2': false
}
echarts documentation