Ubidots Community

How to show gaps in data?

I want to chart average data readings as data is being received. But I also want to show when no data was received.

So basically, each minute I send a sample of data, and that is charted, either a as a line, or a bar chart showing the average reading. But if no readings are received that minute, then I want the line or bar chart to either drop to zero or not exist at all. Once data starts coming in again, the chart should begin charting again, but it should not interpolate or try to “fill the gap” of missing data.

Any ideas how to chart data in that way?

Good day @grantnlee,

I hope all is well,

In this case, we recommend you to explore the HTML Canvas widget and create a chart that responds to the logic you need, when there is no data, shows a blank space or a zero. Please refer to the following article to learn how to create one.

All the best,
-Isabel