Am 05.09.20 um 19:13 schrieb Christopher Lam:
Not sure why this would fail. Edit html-chart.scm and delete the relevant (push
"Chart"...) line. My setup successfully sets the Chart option. If this fails
then I'm not sure, you'll have to dig in.
If I comment out the line, then I get the
ReferenceError: Can't find variable: Chart
somewhere else:
// draw the background color
Chart.pluginService.register({
beforeDraw: function (chart, easing) {
I really would like to debug this, but I have no clue about
java script. So any hints on where to start are very welcome.
On Sat, 5 Sep 2020 at 16:47, Herbert Thoma <[email protected]
<mailto:[email protected]>> wrote:
Am 05.09.20 um 17:28 schrieb Christopher Lam:
> What happens with combined reports eg net worth line chart with
display/table enabled?
I see the table, no chart.
> Try right click the blank page and open the WebKit inspector, and report
the console messages. Maybe chartjs is not being found.
I get 2 errors:
SystaxError: Unexpected token '<'
(anonymous function) --- file:///:1
This one I think is a bit strange, because it points to the first line in
the report html code.
ReferenceError: Can't find variable: Chart
Global Code --- gnc-report-7J8DQ0.html:185
here the line in the code is:
Chart.defaults.global.defaultFontFamily = "'Trebuchet MS', Arial, Helvetica,
sans-serif";
Herbert.
> On Sat, 5 Sep 2020, 10:41 pm Herbert Thoma, <[email protected]
<mailto:[email protected]> <mailto:[email protected]
<mailto:[email protected]>>> wrote:
>
> Hi!
>
> I built GnuCash on openSUSE 15.2. from git. Everything works as
expected,
> with one exception: graphical reports are not displayed. Text
reports work.
>
> I exported a report as html and tested in firefox. This displays an
empty
> page, too.
>
> openSUSE 15.2 comes with a packaged GnuCash 3.9, there the graphical
> reports work.
>
> Any ideas why the reports don't work?
> Any hints how I could debug this?
>
> Herbert.
>
> _______________________________________________
> gnucash-devel mailing list
> [email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel