{"id":528,"date":"2011-04-09T18:28:57","date_gmt":"2011-04-09T23:28:57","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=528"},"modified":"2017-05-22T13:25:07","modified_gmt":"2017-05-22T17:25:07","slug":"dynamic-javascript-charts-new-feature","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2011\/04\/09\/dynamic-javascript-charts-new-feature\/","title":{"rendered":"Dynamic JavaScript Charts (new feature)"},"content":{"rendered":"
If you look at our homepage<\/a>, you will see a chart dynamically updating itself with the latest data from a light sensor. We did this by using a combination of our feed API and the Highcharts package. We\u00a0decided\u00a0to make this an option in our Charts API<\/a>. So, all you have to do is say, “dynamic=true” and the charts will\u00a0automatically\u00a0add new data from your channel to the chart. It’s almost magic if it was not all JavaScript! Visit the ThingSpeak Documentation for the Charts API<\/a> for more\u00a0information\u00a0on this feature and all of the other options for your charts.<\/p>\n","protected":false},"excerpt":{"rendered":" If you look at our homepage, you will see a chart dynamically updating itself with the latest data from a light sensor. We did this by using a combination of our feed API and the Highcharts package…. read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[30,17],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/528"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":2125,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/528\/revisions\/2125"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}