From 9884fe2dac70b468a5f954a57e51353f6a1eac3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoit=20L=C3=A9v=C3=AAque?= Date: Wed, 24 Oct 2012 11:42:23 +0300 Subject: [PATCH] fix duplicated tooltip with pie chart --- jquery.highchartTable.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jquery.highchartTable.js b/jquery.highchartTable.js index b5adff1..41a674d 100644 --- a/jquery.highchartTable.js +++ b/jquery.highchartTable.js @@ -405,6 +405,9 @@ return ''+ this.series.name +'
'+ Highcharts.dateFormat('%e. %b', this.x) +' : '+ this.y; } else { var xValue = typeof xValues[this.point.x] != 'undefined' ? xValues[this.point.x] : this.point.x; + if (globalGraphType === 'pie') { + return '' + this.series.name + '
' + xValue + ' : ' + this.point.y; + } return '' + this.series.name + '
' + xValue + ' : ' + this.point.name; } }