Why I get only the last 36 hours?

조회 수: 1 (최근 30일)
Frank Mehlhop
Frank Mehlhop 2021년 1월 20일
댓글: Christopher Stapels 2021년 1월 22일
Hi,
I set at the Chart Options Results on 40320, what should be one week. But the graph shows only 36 hours (and some minutes). I also try to set it results on 7 day, but still I get only 36 hours.
Why it is not showing 7 days graph?
Frank

답변 (1개)

Vinod
Vinod 2021년 1월 20일
To keep the application responsive and have a usable experience on the web site, we limit the number of points retrieved to a maximum of 8000 points. It is physically unlikely that you have 40k pixels in the small area of the screen where an individual chart is displayed. This is also why we provide an averaging option -- it is very likely that when looking over a period of that many points that you are looking at aggregates like average, median, etc. and are not interested in each individual datapoint.
  댓글 수: 2
Frank Mehlhop
Frank Mehlhop 2021년 1월 21일
But also using average or median, Also with les points I get only the last 1.5 days.
Is it posible to get the hole last week? or even tree or five days?
Christopher Stapels
Christopher Stapels 2021년 1월 22일
You can use the start and end parameters in the read data call in the REST API. Or use daterange in thingSpeakRead().
I've linked the doc pages for both of these, and you can also look at the charts API, but its similar to the read command except it returns a chart instead of data. All of these are still limited to 8000 points, but you can pick exactly the times you want to see.

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Visualize Data에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by