]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed history data collection minmax stream updates and plot rendering 39/2339/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:22:27 +0000 (15:22 +0300)
commitfee871302ad4c53ca2c2307bd13366d99116d930
tree72291ec21c256829064e2cc0c0bbbf7dfc66061c
parent3f4efcd9edf8d1ba3a1bb8c842900cca1e6d30f3
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
bundles/org.simantics.history/src/org/simantics/history/impl/CollectorImpl.java
bundles/org.simantics.trend/src/org/simantics/trend/impl/ItemNode.java