From 6d0a3707e1f6cc0d8ca00a5a96fe0e9355bcbb61 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Mon, 13 Oct 2014 20:36:35 +0200 Subject: [PATCH] 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. --- src/report/report-system/html-barchart.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/report/report-system/html-barchart.scm b/src/report/report-system/html-barchart.scm index 33b81f8bc1..a90e7ac57e 100644 --- a/src/report/report-system/html-barchart.scm +++ b/src/report/report-system/html-barchart.scm @@ -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,