Bug 259417 - Units: graph unreadable when values are missing for some dates
Summary: Units: graph unreadable when values are missing for some dates
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 10:15 UTC by Christoph Vogtländer
Modified: 2010-12-10 23:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Graph in line mode (36.87 KB, image/png)
2010-12-10 10:15 UTC, Christoph Vogtländer
Details
Graph in point mode (44.88 KB, image/png)
2010-12-10 10:16 UTC, Christoph Vogtländer
Details

Note You need to log in before you can comment on or make changes to this bug.
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