How to change the X and Y axis names of Pie chart High Chart?

后端 未结 1 1743
独厮守ぢ
独厮守ぢ 2021-01-26 04:35

HI all i am some data in a pie chart...on hover of slice i get the hover like this

    [Hr Resources:x=Hr Resources,y=12]

i want my tooltip to

相关标签:
1条回答
  • 2021-01-26 05:05

    By default, Highchart tooltip picks up, series name in the tooltip.

    You can customize tooltip using:

    tooltip: {
        formatter: function() {
              return '<b>ProjectName = '+ this.point.name +', Logged Bugs= '+ this.y + '</b>';
        }
    }
    

    Here is the example

    Highchart has a very good documentation at :http://api.highcharts.com/highcharts#tooltip

    0 讨论(0)
提交回复
热议问题