0
votes

I have something similar to the highcharts combination chart example, with a pie chart embedded into another chart.

However, what seems like the obvious way to remove a tooltip (tooltip:{enabled:false}) fails to do the job.

My attempt is reflected in this jsfiddle: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/combo/

Thanks!

2
You need to disable tooltip for all chart types or only for pie?Sebastian Bochan
Only the pie chart. See my comment in response to Ricardo below.findchris

2 Answers

2
votes

You can simple return false into the tooltip formatter.

http://jsfiddle.net/QgsNK/

1
votes

You can check type of chart,

var s;
                    if (this.series.options.type === 'pie') { // the pie chart
                        return false;
                    } else {
                        s = ''+
                            this.x  +': '+ this.y;
                    }
                    return s;

http://jsfiddle.net/QgsNK/1/