djoshi
Posts: 61
Joined: Fri Mar 26, 2021 5:16 pm

Data Averaging

Hi

I have a large set of data from my IoT Sensor.

For example, each device will have 1 sample per min. This means in a day there are about 1440 data points.

In a month this will be about 42,000 data points. This will grow as we need to display several months?

Is it possible within the high charts, the data can be average per 15 min, hour, 3 hours etc?

Or do we need to process this in advance?
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Data Averaging

Hi,

You will need to use the dataGrouping in your use case which will allow you to display average data values per specified period.
API Reference: https://api.highcharts.com/highstock/se ... taGrouping
Docs: https://www.highcharts.com/docs/stock/data-grouping

Take a look at the similar thread with more info and demos included:
viewtopic.php?f=9&t=49003&p=177871#p177871

Do not hesitate to contact us with any further questions,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Stock”