Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-12-25 17:14:13 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-12-25 17:14:13 +0400
commite3791244b5b46e2ed972feecdef06c68e1647b67 (patch)
treedb16c83ff812d334105d8f3e7dd1bbb3ef3da505 /js/chart.js
parent0dea19e3e18efab4a8d1b5d695600377fa9c0b5d (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.js7
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