1、初始化隐藏某条曲线
series 配置如:
[ {name:"发帖", postCountData}, {name:"删帖帖", deleteCountData, visible:false},//该条曲线将不显示 {name:"活跃数",activeCountData} ];
2、手动触发
chart.series[index].show();//显示 chart.series[index].hide();//隐藏
时间: 2024-10-11 00:31:16
1、初始化隐藏某条曲线
series 配置如:
[ {name:"发帖", postCountData}, {name:"删帖帖", deleteCountData, visible:false},//该条曲线将不显示 {name:"活跃数",activeCountData} ];
2、手动触发
chart.series[index].show();//显示 chart.series[index].hide();//隐藏