]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed history data collection minmax stream updates and plot rendering 40/2340/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 19 Oct 2018 12:22:27 +0000 (15:22 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 19 Oct 2018 12:48:47 +0000 (12:48 +0000)
commit58c32c6c3efec5d8294e65e927cd9f88bbd87fa1
treeb4db9cb6d32d2ca561d9eca64e4f8f24871b0053
parenta27aa1ce2bf303db956eeb19ad3d4e477aa786a0
Fixed history data collection minmax stream updates and plot rendering

After commit 30ca6dab the chart was rendering all plots as SAMPLING
instead of LINE because the commit changed all stream items' endTime
update logic to actually for all streams instead of just the minmax
stream. The fix was to change the plot rendering to still render
diagonal lines instead of step functions regardless of of the start and
end time of each history stream value band are. The lines vs. sampling
settings is now solely based on the chart rendering preferences.

gitlab #35

Change-Id: I9f8872994870bdedbf0708bb77beceab1c884313
(cherry picked from commit fee871302ad4c53ca2c2307bd13366d99116d930)
bundles/org.simantics.history/src/org/simantics/history/impl/CollectorImpl.java
bundles/org.simantics.trend/src/org/simantics/trend/impl/ItemNode.java