Fixed pie chart legend display.

This commit is contained in:
Alexis Lahouze 2013-01-14 23:42:05 +01:00
parent 6b6c54a048
commit 4ad20b9fc6

View File

@ -549,14 +549,18 @@ drawPieChart = function(entries, element) {
// Pie chart renderer // Pie chart renderer
renderer: $.jqplot.PieRenderer, renderer: $.jqplot.PieRenderer,
rendererOptions: { rendererOptions: {
showDataLabels: true showDataLabels: true,
} }
}, },
// Legend parameters. // Legend parameters.
legend: { legend: {
show: true, show: true,
location: 'e' location: 'e',
rendererOptions: {
numberRows: 9,
numberColumns: 2
}
}, },
// Highlighter parameters; // Highlighter parameters;