Bug 737815 - Graphs cannot be generated correctly

Revert x axis renderer from DateAxis to CategoryAxis.
It looks like the DateAxis renderer wasn't meant to be
used for a bar chart.
This commit is contained in:
Geert Janssens
2014-10-13 20:36:35 +02:00
parent 96289823e5
commit 6d0a3707e1

View File

@@ -386,7 +386,7 @@
(push (gnc:html-js-include "jqplot/jquery.jqplot.js"))
(push (gnc:html-js-include "jqplot/jqplot.barRenderer.js"))
(push (gnc:html-js-include "jqplot/jqplot.cursor.js"))
(push (gnc:html-js-include "jqplot/jqplot.dateAxisRenderer.js"))
(push (gnc:html-js-include "jqplot/jqplot.categoryAxisRenderer.js"))
(push (gnc:html-js-include "jqplot/jqplot.highlighter.js"))
(push (gnc:html-js-include "jqplot/jqplot.canvasTextRenderer.js"))
(push (gnc:html-js-include "jqplot/jqplot.canvasAxisTickRenderer.js"))
@@ -445,7 +445,7 @@
},
axes: {
xaxis: {
renderer:$.jqplot.DateAxisRenderer,
renderer:$.jqplot.CategoryAxisRenderer,
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
tickOptions: {
angle: -30,