diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 17:14:13 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 17:14:13 +0400 |
commit | e3791244b5b46e2ed972feecdef06c68e1647b67 (patch) | |
tree | db16c83ff812d334105d8f3e7dd1bbb3ef3da505 /js/chart.js | |
parent | 0dea19e3e18efab4a8d1b5d695600377fa9c0b5d (diff) |
bug #4198 Hovering over pie chart gives fatal JS error
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/chart.js')
-rw-r--r-- | js/chart.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/chart.js b/js/chart.js index dcd08cc2ae..fb0d9af584 100644 --- a/js/chart.js +++ b/js/chart.js @@ -520,7 +520,12 @@ JQPlotPieChart.prototype = new JQPlotChart(); JQPlotPieChart.prototype.constructor = JQPlotPieChart; JQPlotPieChart.prototype.populateOptions = function (dataTable, options) { - var optional = {}; + var optional = { + highlighter: { + formatString:'%s, %d', + useAxesFormatters: false + } + }; var compulsory = { seriesDefaults : { renderer : $.jqplot.PieRenderer |