wish: lower line graph interval to display more dots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HomeBank |
New
|
Wishlist
|
Unassigned |
Bug Description
I'm running HomeBank 5.7 on Ubuntu 23.04 with GTK 3.24.37.
In the balance report window, I'd like to see the balance over time in one of my accounts, scaled horizontally to fit in the window (so I don't have to scroll), with the X axis proportional to actual time.
It seems that currently there's no way to achieve this. If I choose 'Interval: Day' and clear the 'Show empty line' box, then the graph shows one point for each day on which the balance changed, but the points are all spaced equally horizontally! For example, if I had a transaction on 6/14, 6/15, and then not again until 10/1, the horizontal distance between 6/14 and 6/15 will be the same as the distance between 6/15 and 10/1. This distorts time. In my opinion, in this view each point's X position should instead be proportional to its actual distance (in time) from the start date.
Or, I can choose 'Interval: Day' and check the 'Show empty line' box. Then the graph shows one point for every day, so the X axis is no longer distorted. That's good. However, then even if I move the 'Zoom X' slider all the way to the left, the graph does not fit in the window. (I'm looking at a time range that spans about two years.) That's awkward - I'd like to see the whole balance history at a single glance.
At first your title is not accurate : there is no distortion but only different option of display with show/hide empty lines, so when the balance has no variation.
The minimum zoom is currently set to 8 item width, mostly because for bar less than that make then not distinguishable each.
So indeed if you like to display a 2 years by days it will requires only for the graph area 365*2*8 pixel, so 5840 pixel wide, event a 4k display (3840) will not.
So at the end what you would like is to lower this minimum for line graph to display more dots.