Skip to content

Commit 7f91fd1

Browse files
committed
Merge pull request #14 from pmartin/tooltip-x-value
The X value is now displayed in tooltips
2 parents 13b5512 + e85dd2a commit 7f91fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.highchartTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
if ($table.data('graph-xaxis-type') == 'datetime') {
350350
return '<b>'+ this.series.name +'</b><br/>'+ Highcharts.dateFormat('%e. %b', this.x) +' : '+ this.y;
351351
} else {
352-
return '<strong>' + this.series.name + '</strong> : ' + this.point.name;
352+
return '<strong>' + this.series.name + '</strong><br />' + xValues[this.point.x] + ' : ' + this.point.name;
353353
}
354354
}
355355
},

0 commit comments

Comments
 (0)