About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 years old) and has a wealth of features making it an ideal choice to show charts on your website.

More »

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£99) commercial license available.

More »

 

Download
Get the latest version of RGraph (version 6.16) from the download page. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

More »

How can I use RGraph with an IoT ESP32 ESP8266?


Posted by JohnBras at 22:02 on Wednesday 6th December 2023 [link]
Did anyone use this with Arduino to make a gauge meter for temperature sensing, as an example, and a ESP8266 so that we can work offline ? Is there a tutorial how to get me started ?

Posted by Richard at 23:38 on Wednesday 6th December 2023 [link]
I've never done that or used such a 'thing' - but maybe this might help:

var value = 80; // <-- Change this 80 to be the value that you want to see on the Gauge

new RGraph.Gauge({
    id: 'cvs',
    min: 0,
    max: 100,
    value: value,
    options: {
    }
}).draw();

To see this in action look at this page:

https://www.rgraph.net/tests/canvas.gauge/_blank.html

HTH

[Replies are now closed]