如何在highcharts中的x轴标签上添加工具提示?
xAxis: {
categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
labels: {
x: 5,
useHTML: true,
formatter: function () {
return categoryImgs[this.value];
}
}
}
Run Code Online (Sandbox Code Playgroud)
目前,工具提示仅显示在图表中的点上,我希望用户在悬停在x轴上的标签上时也能看到工具提示/自定义描述.那可能吗?谢谢