]> gerrit.simantics Code Review - simantics/platform.git/commit
Render last known value in time series chart hairline value tip
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 21 Aug 2018 15:54:52 +0000 (18:54 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 1 Sep 2018 08:22:43 +0000 (11:22 +0300)
commita8c20baf037f382a8d1daad4ddff3bd8f21d4b48
tree7a2386fe2e8d91cd79f13964310da40fd57134b4
parent7f06602810734e5a918be5e0ed542be3c1239c4f
Render last known value in time series chart hairline value tip

Previously if a history item's data stream did not (yet) contain a value
with a timestamp >= than the chart hairline time, the value time on top
of the chart would not paint any value at all for that item. The best
thing the chart can do in such circumstances to prevent unwanted visual
skipping in the UI is to paint the last known sample's value regardless
of its endTime value.

gitlab #85

Change-Id: I362a19b8699c8c4a96240ddfc3fd68a91d6bbd06
(cherry picked from commit e2e0b33c6a7b55c4b0f7a268dd37e545feefc5a2)
bundles/org.simantics.trend/src/org/simantics/trend/impl/Plot.java