echart 2.2.7雷达图showTip不显示,为什么

clipboard.png
在雷达图的四周添加a标签,使用
$(aLabel).mouseover(function(){
console.log(chart.component.tooltip);
chart.component.tooltip.showing=true;
chart.component.tooltip.showTip({ seriesIndex: 0,dataIndex:idx });
});,tooltip却没办法显示出来,
如果把option里面tooltip的show改为true,然后用$(aLabel).click却能够显示出tooltip,但是需求是鼠标在图表内部悬浮时不弹出提示,只有在鼠标移动到a标签上才弹出提示,求解决!

阅读 5.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题