Insert the fields into a web site
3 次查看(过去 30 天)
显示 更早的评论
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...
0 个评论
采纳的回答
Vinod
2020-2-13
Take a look at this documentation: https://www.mathworks.com/help/thingspeak/embed-a-chart.html
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
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.
更多回答(1 个)
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:
社区
更多回答在 ThingSpeak Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visualize Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!