After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604725 - Income/Expense bar chart gets blurred when more than 10 months are shown
Income/Expense bar chart gets blurred when more than 10 months are shown
Status: RESOLVED DUPLICATE of bug 331739
Product: GnuCash
Classification: Other
Component: Reports
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2009-12-16 14:11 UTC by liked2
Modified: 2018-06-29 22:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample bar chart report with a long history (17.38 KB, image/png)
2009-12-16 14:11 UTC, liked2
Details

Description liked2 2009-12-16 14:11:24 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!
Comment 1 b.s.v 2009-12-17 07:01:19 UTC
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
Comment 2 liked2 2009-12-17 19:33:20 UTC
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).
Comment 3 Geert Janssens 2009-12-17 19:58:37 UTC
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.
Comment 4 Geert Janssens 2009-12-17 20:29:34 UTC
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 ***
Comment 5 liked2 2009-12-17 20:46:21 UTC
Thank you very much for the hint. That helped. Of course, a dynamically resizing would make the reports more comfortable.
Comment 6 John Ralls 2018-06-29 22:31:52 UTC
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.