echart How to display only one of the two line charts by default and hide the other
legend → Just set selectedMode to "single"http://echarts.baidu.com/opti...
Set lengthend.data value
legend: { data:['会员总数'] },
This will only display the legend of the total number of members
legend.selected ObjectLegend selected status table. Example:
selected: { // 选中'系列1' '系列1': true, // 不选中'系列2' '系列2': false }
echarts documentation
legend → Just set selectedMode to "single"
http://echarts.baidu.com/opti...
Set lengthend.data value
This will only display the legend of the total number of members
legend.selected Object
Legend selected status table.
Example:
echarts documentation