diff --git a/src/report/report-system/html-barchart.scm b/src/report/report-system/html-barchart.scm
index 5cf706e787..36a6b0cfe4 100644
--- a/src/report/report-system/html-barchart.scm
+++ b/src/report/report-system/html-barchart.scm
@@ -142,6 +142,14 @@
;; used for all of the rows. Otherwise we could have cols*rows urls
;; (quite a lot), but this first requires fixing
;; guppi_bar_1_callback() in gnome/gnc-html-guppi.c .
+;; FIXME url's haven't been working since GnuCash 1.x
+;; GnuCash 2.x switched from guppy to goffice, which
+;; made it very hard to remain the url functionality
+;; At this point I (gjanssens) is in the process of
+;; moving from goffice to jqplot for our charts
+;; which perhaps may allow urls again in the charts
+;; I'm keeping the parameters below around to remind
+;; us this still has to be investigated again
(define gnc:html-barchart-button-1-bar-urls
(record-accessor 'button-1-bar-urls))
@@ -352,7 +360,7 @@
(push ");\n"))))
(if (and (list? data)
(not (null? data))
- (gnc:not-all-zeros data))
+ (gnc:not-all-zeros data))
(begin
(push (gnc:html-js-include "jqplot/jquery.min.js"))
(push (gnc:html-js-include "jqplot/jquery.jqplot.js"))
@@ -394,7 +402,9 @@
(push "var options = {
shadowAlpha: 0.07,
stackSeries: false,
- legend: { show: true, },
+ legend: {
+ show: true,
+ placement: \"outsideGrid\", },
seriesDefaults: {
renderer: $.jqplot.BarRenderer,
rendererOptions: {
@@ -520,110 +530,8 @@
(gnc:msg (string-join (reverse (map (lambda (e) (if (number? e) (number->string e) e)) retval)) ""))
- (push " \n"))
+ )
(begin
- (gnc:warn "barchart has no non-zero data.")
- " "))
+ (gnc:warn "barchart has no non-zero data.")
+ " "))
retval))