onlinux / freeboard-dynamic-highcharts-plugin

Dynamic Highcharts plugin for http://freeboard.io
MIT License
14 stars 7 forks source link

Examples how to use this? #1

Closed nardev closed 4 years ago

nardev commented 7 years ago

Would you add some examples how to use this plugin???

onlinux commented 7 years ago

More info about this plugin @ http://blog.onlinux.fr/dynamic-highcharts-plugin-for-freeboard-io/

See it in action @ https://freeboard.io/board/cnpjDa You can clone the board and study how it works. Actually it is quite simple. It is a timeserie, each time you receive a data from a defined datasource, a point is plotted on the chart.

nardev commented 7 years ago

Please example...

onlinux commented 7 years ago

As I wrote in my last comment, an example is provided @ https://freeboard.io/board/cnpjDa Clone the board at freeboard.io and enter edit mode. You will see how it works.

nardev commented 7 years ago

I read your comment but i and i believe others, would appreciate a lot to have simple code/strings how the data needs to be formatted... i don't want to dig through js in that page....can't find it..

onlinux commented 7 years ago

Don't need to dig through js or whatever. This is a plugin for Freeboard.io. You only need to define a datasource ( as Paho MQTT, Dweet.io) at top right corner of the board. Once the datasource is defined, select the data you want to plot in edit mode. dynamic-highcharts-plugin-6

nardev commented 7 years ago

anyway

3nd0y commented 7 years ago

Hi there, i'm still dont understand how to input the value. I put value which always changing in JSON format to series 1 datasource, but the chart won't show up.Only the timeseries always moving to left. And by the way https://freeboard.io/board/cnpjDa r3Monitor is dead, it didn't refresh

onlinux commented 7 years ago

Hello,

If the timeserie is moving, it means that some data are processed. Please check the floor value within the declaration of Y-AXIS.

ex: {"title":{"text" : "°F"}, "minorTickInterval":"auto", "floor":0}

Concerning the r3Monitor datasource, i 've defined a new random_number datasource to feed the charts.

Regards

Eric

2017-09-19 14:36 GMT+02:00 fadli notifications@github.com:

Hi there, i'm still dont understand how to input the value. I put value which always changing in JSON format to series 1 datasource, but the chart won't show up.Only the timeseries always moving to left. And by the way https://freeboard.io/board/cnpjDa r3Monitor is dead, it didn't refresh

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/onlinux/freeboard-dynamic-highcharts-plugin/issues/1#issuecomment-330525051, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnqx8sQpqISZyUzQW-j77woyrzAuhtNks5sj7UugaJpZM4LkbtI .

3nd0y commented 7 years ago

Hi Onlinux, i try to edit to "floor":0 but it won't work. finally i found that the plugin which i used are old version, after update it, it work now! Thank you

onlinux commented 4 years ago

Closed