<table><tr><td style="">alexde updated this revision to Diff 66044.<br />alexde added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23520">View Revision</a></tr></table><br /><div><div><p>The former scaling of the x-Positions of the data points did not fit to the time axis.<br />
Now the x-values of the points, i. e. their timestamps, are correctly aligned.</p>

<p>For some unknown reasons, all data points, which come before/after a certain, <br />
abitrary timestamp, seem to have a non-valid timestamp = 0.<br />
That's why I have added a if-statement to ignore those values.</p>

<p>This feels more like a workaround and the underlying issue should be fixed instead in the future.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R102 KInfoCenter</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D23520?vs=66034&id=66044">https://phabricator.kde.org/D23520?vs=66034&id=66044</a></div></div><br /><div><strong>BRANCH</strong><div><div>energy-timeline (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23520">https://phabricator.kde.org/D23520</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Modules/energy/package/contents/ui/Graph.qml<br />
Modules/energy/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>alexde, VDG, ngraham, Plasma<br /><strong>Cc: </strong>meven, bcooksley, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>