Displaying a chart with no data
-
Heya,
I have a modal pop-up which displays the latest data for a sensor (in this case temperature) but when there is no data, points are manufactured for the first and last dates in the range.
Is there a way to configure the chart to be empty if there is no data in the selected range?
Note: I had thought this had been inquired about in another topic but could not find it to reference.
My work-around is to have ng-if="pointsTemp.length > 2" in ma-serial-chart tag. I have a span which displays "No data in the selected range" if <= 2.
Thanks
Ian -
https://forum.infiniteautomation.com/topic/3936/retrieving-historical-values/2
https://forum.infiniteautomation.com/topic/4024/filter-for-point-values/7When 3.6 is released there will be a
bookend="false"
option on<ma-point-values>