Insert the fields into a web site

조회 수: 3 (최근 30일)
Marc Capafons Garcia
Marc Capafons Garcia 2020년 2월 13일
댓글: Marc Capafons Garcia 2020년 2월 14일
Will there ever be a way to insert thingspeak data into an external web without the white box?
It would be nice if you could just insert the value of that field and be able to increase the font size, color...

채택된 답변

Vinod
Vinod 2020년 2월 13일
I'm not sure what you mean by "...without the white box". See: https://www.mathworks.com/help/thingspeak/createchart.html
It has information on how to adjust the background color, etc. when you embed the chart on your site.
  댓글 수: 3
Vinod
Vinod 2020년 2월 14일
편집: Vinod 2020년 2월 14일
I see what you're after.
For a custom dashboard on your website, you will need to code your own widget that reads the value from api.thingspeak.com and visualizes it on your website in the way you want it. There are many charting libraries, such as Highcharts or Google charts, that you can use to build your dashboard. It does require some Javascript and HTML experience, though.
Marc Capafons Garcia
Marc Capafons Garcia 2020년 2월 14일
OK thank you

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

추가 답변 (1개)

Christopher Stapels
Christopher Stapels 2020년 2월 14일
If you just want the field value from a channel field, you can use the Read Data API call to get the data and embed it in your site.
Have a look at this post for an example of a function to call the API. If you wanted to get the valeu form the cheerlights channel to embed, you could use this URL in the function:
  댓글 수: 1
Marc Capafons Garcia
Marc Capafons Garcia 2020년 2월 14일
ok, I've got it, but now how can I make it auto-update or increase the font size?

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

커뮤니티

더 많은 답변 보기:  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