MATLAB Answers

Daily sum in bar chart is wrong

2 views (last 30 days)
I am collecting the rainfall hourly. If i want to have a daily sum, the sum is not ok.
If i want to sum up 0.28+0.56+0.56 the bar chart displays 0.28.
Does somebody has an idea?
  4 Comments
Rudolf Dudek
Rudolf Dudek on 17 Jul 2021
Thanks a lot, i keep you updated

Sign in to comment.

Accepted Answer

Christopher Stapels
Christopher Stapels on 13 Jul 2021
I tried this in one of my channels and it seems to work fine. I wonder if there is something different about your data. Can you share the data used to geenrate those plots? Here is the data I used:
myTimes Var1
____________________ ____
11-Jul-2021 08:38:10 0.28
11-Jul-2021 09:38:10 0.56
11-Jul-2021 10:38:10 0.56
13-Jul-2021 10:38:10 0.28
  3 Comments
Rudolf Dudek
Rudolf Dudek on 3 Aug 2021
Sorry for the delay, here's the public link:
https://thingspeak.com/channels/1306999/charts/8?bgcolor=%23ffffff&color=%231A2C42&days=7&dynamic=true&round=2&sum=daily&type=column

Sign in to comment.

More Answers (1)

Vinod
Vinod on 13 Jul 2021
My suspicion is that the field has a bunch of 'NaN's in them. Can you download the data for the channel from th "Import/Export" tab of the channel and confirm there are no NaN's or blank slots in the data?

Communities

More Answers in the  ThingSpeak Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!