可以在调用隐藏提示框函数后,手动隐藏轴指示器。代码示例如下:
//隐藏提示框 myChart.dispatchAction({ type: 'hideTip' });
//手动隐藏轴指示器 myChart.setOption({ tooltip: { show: false }, xAxis: { axisPointer: { show: false } }, yAxis: { axisPointer: { show: false } } });
上一篇:ApacheEChartsusingdifferentdatasetformatstoachievethesamechart
下一篇:ApacheECharts中基于逻辑改变线条颜色的问题