Disable hover on HighCharts

后端 未结 10 784
长情又很酷
长情又很酷 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:40

    Disabling tooltip just disables the tooltip but the hover effect is still present. To disable the hover effect, add the following to your plotOptions:

        plotOptions: {
            series: {
                states: {
                    hover: {
                        enabled: false
                    }
                }
            }
        },
    

提交回复
热议问题