本文介绍了Highcharts图表中的自定义工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以在Highcharts图表中完全制作 自定义工具提示?不仅仅是使用不同的数据,还可以使用彩色的边框,但要使它看起来不同(例如,就像其中有图片的泡泡一样)。 试试这个: ....
tooltip:{
useHTML:true,
formatter:function(){
return'here the html code';
}
},
Is there any way to make completely custom tooltips in Highcharts diagrams? Not just with different data, or with coloured border, but to make it look different (for example, like a bubble with picture in it).
解决方案
Try this:
....
tooltip: {
useHTML: true,
formatter: function() {
return 'here the html code';
}
},
这篇关于Highcharts图表中的自定义工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!