Bug 259417

Summary: Units: graph unreadable when values are missing for some dates
Product: [Applications] skrooge Reporter: Christoph Vogtländer <kde>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: macOS   
Latest Commit: Version Fixed In:
Attachments: Graph in line mode
Graph in point mode

Description Christoph Vogtländer 2010-12-10 10:15:37 UTC
Created attachment 54381 [details]
Graph in line mode

Version:           unspecified (using KDE 4.5.3) 
OS:                OS X

I have a share that I cannot be download via yahoo. I do not track the share value for every day (because I'm to lazy). The drawn graph is useless then, because it seems that the missing values are interpreted as "0", causing the image to be scaled in such a way that the actual changes of the share value is no longer visible. I think the line is drawn correctly, but useless because of the scaling. Switching to "point" mode shows all missing values as "0". See attached screen shots.

Reproducible: Didn't try
Comment 1 Christoph Vogtländer 2010-12-10 10:16:24 UTC
Created attachment 54382 [details]
Graph in point mode
Comment 2 Christoph Vogtländer 2010-12-10 10:35:50 UTC
just as a follow up: this also happens when downloading values for e.g. EURO (internet code "EURUSD=X") because there are no values on weekends. But scaling is much better here (maybe because there is more variation in the values?).
Comment 3 Stephane MANKOWSKI 2010-12-10 23:29:45 UTC
SVN commit 1205340 by smankowski:

BUG: 259417: Units: graph unreadable when values are missing for some dates ==> "Show origin" allows to show/hide the origin of the graph for a better display

 M  +1 -0      CHANGELOG  
 U             skgbankmodeler/skgdocumentbank.cpp  
 M  +70 -21    skgbasegui/skgtablewithgraph.cpp  
 M  +3 -0      skgbasegui/skgtablewithgraph.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1205340