GNOME Bugzilla – Bug 331739
Report graphs should not have to be scaled manually.
Last modified: 2018-06-29 20:58:18 UTC
Currently, report graphs (for example, 'Expense Piechart') are scaled to some constant size. If the window is resized, the graph is not. To change the graph's size, the report options must be edited, and proper dimensions guessed at. If the graphs could have the option to automatically scale to window size, in addition to using a fixed size as it does now, it would be useful. Other information:
*** Bug 117005 has been marked as a duplicate of this bug. ***
Can confirm this bug is reproducible and is still present in 2.1.0. No surprises.
What does "scale to window size" mean vertically? I could imagine plot width in percentage of the total window width. But if we fix the height in pixels, then resizing the window will look really strange. OTOH if the height is specified in percentage of total height, this will make the plot change proportions like the main window, which is just as strange.
On the other hand, "scale to window size" *horizontally* is quite clear. The report should default to some aspect ratio so that the horizontal window size gives the desired horizontal and vertical size of the diagram.
If I remember correctly what I wanted at the time, was that options modified manually when modifying the report size could be saved somehow, and thus have no need to modify them again when asking for the same report.
*** Bug 604725 has been marked as a duplicate of this bug. ***
What might be a better option is to have a "grabber" in the bottom right of the report view that lets you drag it to new dimensions. Then you don't have to guess a height and width that fits your window. The drag action could just show a sample box border, the perform the actual re-size after the drag action is completed. Possibly press ESC on the keyboard to cancel the re-size.
This problem was re-considered in conjunction with bug 720934 - which resulted in bug 763640. It is looking into how to enable the user to specify % instead of px for graph width and height.
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=331739. Please continue processing the bug there and please update any external references or bookmarks.