GNOME Bugzilla – Bug 604725
Income/Expense bar chart gets blurred when more than 10 months are shown
Last modified: 2018-06-29 22:31:52 UTC
Created attachment 149832 [details] sample bar chart report with a long history There seems to be a bug when more than 10 months are shown in the bar chart report. The rendered image does not contain the black outline surrounding the bars anymore. Using less months for the report, works perfectly. An example can be seen in the attachment. BTW: Thank you very much for the great software!
Hi Liked, Are you able to choose 1 Jan 2009 as the starting date for your chart? I can either choose 31 December 2008 or 2 Jan 2009. Something strange happening. I am using 2.2.9 and the black background is displaying properly for me. Barry
Hi Barry, yes I could choose 01.01.2009 as starting date. I also have to correct, that 10 months are not enough you need 24 (2 years).
The code behind this chart is creating a bitmap image of predefined width and height. If you want to show a lot of data, there simply aren't enough pixels in the image to draw the chart sharply. That's why you get this blurry effect when showing a lot of data. There is a simple solution for this: go to the chart' Options->Display tab. There you can set the width and height of the image (the parameters are called "Plot width" and "Plot height"). When you increase the width, your chart will become crisp again.
A longer-term remedy for this would of course be a chart that scales dynamically, so the user doesn't have to select the desired size. I found another enhancement request specifically for this. I'll mark this bug as a duplicate. You can follow up on the other report if you like. *** This bug has been marked as a duplicate of bug 331739 ***
Thank you very much for the hint. That helped. Of course, a dynamically resizing would make the reports more comfortable.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=604725. Please update any external references or bookmarks.