1、初始化隐藏某条曲线
series 配置如:
[
{name:"发帖", postCountData},
{name:"删帖帖", deleteCountData, visible:false},//该条曲线将不显示
{name:"活跃数",activeCountData}
];
2、手动触发
chart.series[index].show();//显示
chart.series[index].hide();//隐藏
2023-12-28 17:16:34
1、初始化隐藏某条曲线
series 配置如:
[
{name:"发帖", postCountData},
{name:"删帖帖", deleteCountData, visible:false},//该条曲线将不显示
{name:"活跃数",activeCountData}
];
2、手动触发
chart.series[index].show();//显示
chart.series[index].hide();//隐藏
下一篇:mysql 远程登录