D23520: Add time line to X axis

Alex Debus noreply at phabricator.kde.org
Sat Sep 14 14:02:52 BST 2019


alexde updated this revision to Diff 66044.
alexde added a comment.


  The former scaling of the x-Positions of the data points did not fit to the time axis.
  Now the x-values of the points, i. e. their timestamps, are correctly aligned.
  
  For some unknown reasons, all data points, which come before/after a certain, 
  abitrary timestamp, seem to have a non-valid timestamp = 0.
  That's why I have added a if-statement to ignore those values.
  
  This feels more like a workaround and the underlying issue should be fixed instead in the future.

REPOSITORY
  R102 KInfoCenter

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23520?vs=66034&id=66044

BRANCH
  energy-timeline (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D23520

AFFECTED FILES
  Modules/energy/package/contents/ui/Graph.qml
  Modules/energy/package/contents/ui/main.qml

To: alexde, #vdg, ngraham, #plasma
Cc: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190914/369f4edf/attachment.html>


More information about the Plasma-devel mailing list