Disable hover on HighCharts

后端 未结 10 737
长情又很酷
长情又很酷 2021-02-03 21:03

I have building a pie chart using HighCharts library, and here is my chart:

 // http://jsfiddle.net/t2MxW/20890/

    var chart = new Highcharts.Chart({
                 


        
10条回答
  •  后悔当初
    2021-02-03 21:44

    As specified in the accepted answer, you need to set

     tooltip: { enabled: false }
    

    Note - you must specify this as a property of your Highcharts.Options object (i.e. your chart options object, not a property of your series). So, either specify it in the JSON that you pass into your Highcharts.Chart object, or specify it as a property of a Highcharts.Options object that you explicitly create, before you pass it to you Highcharts.Chart

    See https://api.highcharts.com/highcharts/tooltip.enabled

提交回复
热议问题