Using Chart.js

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
MaksNovik
Posts: 1
Joined: Wed May 26, 2021 9:03 am

Using Chart.js

Post by MaksNovik »

Hello, community! I need your help.

How can I plot a line graph using the Chart.js library. It is necessary to display a graph of temperature ("System1:Conveer.Motor1.Temperature:_online.._value") versus time.

Thank you.

User avatar
Amaranth
Posts: 4
Joined: Thu Apr 23, 2020 10:20 am

Re: Using Chart.js

Post by Amaranth »

Hello.
e.g. when you use NGA you can connect to influxDB and operate data like with any other db.
Of course you need backend.

gschijndel
Posts: 242
Joined: Tue Jan 15, 2019 3:12 pm

Re: Using Chart.js

Post by gschijndel »

Look into the webview ewo javascript interface under Graphics editor (GEDI) -> Complex graphics objects -> EWO (External Widget Object) -> WebView EWO -> JavaScript Interface Examples.
There is an example to plot a graph with a javascript library.

Post Reply
3 posts • Page 1 of 1