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.