Bug 452695

Summary: Skrooge report (Line) having issues with values above several millions
Product: [Applications] skrooge Reporter: alex.viv
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: 25.1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Top screenshot working fine, bottom report showing without lines

Description alex.viv 2022-04-17 09:54:02 UTC
Created attachment 148202 [details]
Top screenshot working fine, bottom report showing without lines

SUMMARY
***
Skrooge report (Line) are working correctly with values below a million.
But it is having issues with values above several millions:
- above 2 millions, it start showing not showing the line (in line mode)
- above 5 millions, the grid and other lines dissappear as well
***


STEPS TO REPRODUCE
1. Create a dummy account with some entries all below 1 million
2. Generate a report (example monthly report), it should be working at this point
3. Update one of the transaction to be 10 millions and switch again to the report tab: lines will have disappeared
See example in the screenshots (top is okay, bottom is missing lines)

OBSERVED RESULT
as soon as total values are too high, above several millions, the report (line) is not showing lines and grid behind

EXPECTED RESULT
The report should be able to generate the lines and grid, same as for small values.

Workaround is to switch to another report style (histogram for example) and the bars are showing (but the background grid also disappear for histogram)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: xubuntu 20.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Skrooge version: 2.27.0

ADDITIONAL INFORMATION
This is especially annoying if you are using a currency like IDR as 16 million IDR = 1000 euros only :)
Comment 1 Stephane MANKOWSKI 2022-05-12 19:30:08 UTC
Git commit dd55ca94dff8d1c97c93cf0b0fd2a1b66c7a954b by Stephane MANKOWSKI.
Committed on 12/05/2022 at 19:16.
Pushed by smankowski into branch 'master'.

Skrooge report (Line) having issues with values above several millions

M  +1    -0    CHANGELOG
M  +9    -8    skgbasegui/skgtablewithgraph.cpp

https://invent.kde.org/office/skrooge/commit/dd55ca94dff8d1c97c93cf0b0fd2a1b66c7a954b
Comment 2 Stephane MANKOWSKI 2022-05-12 19:30:16 UTC
Git commit 8a25a8396b28bcae1dee032e8e33ad3ed47a66b4 by Stephane MANKOWSKI.
Committed on 12/05/2022 at 19:29.
Pushed by smankowski into branch 'master'.

Skrooge report (Line) having issues with values above several millions

M  +2    -0    CHANGELOG

https://invent.kde.org/office/skrooge/commit/8a25a8396b28bcae1dee032e8e33ad3ed47a66b4