(本文档仅供参考)
当在柱图上设置鼠标提示为: "tooltip": { "formatter": "{c}" }时,鼠标移动到柱子上,发现鼠标提示中会多出一个序号。如下图中“3,”是多出来的序号。
这个是echarts图形本身的逻辑,那么如何不显示序号,使得鼠标提示显示如下呢?
可用以下鼠标提示扩展属性实现:
"formatter": "function(a){ return a.data.value[1]}"
Viewtracker License Missing
There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.