MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 18 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Version 7.11
Version 7.11 (released in March 2026) is the latest version of RGraph and contains just a few updates to the code which you can see on the changelog page. There's a new dumbbell variation for the Bar and Horizontal bar charts (both SVG and canvas) and the front page layout of the website has been tweaked.

Download »

 

HTML datagrid
In the April 2025 (v6.21) release a new datagrid object was added. This makes it easy to add static or dynamic data tables to your pages. It can be used whether you use the canvas or SVG libraries or entirely standalone.

Read more »

 

Download
Get the latest version of RGraph (version 7.11, 21st March 2026) from the download page. You can read the changelog here. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

Download »

 

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

More »

Question about installing RGraph

Post a reply

Posted by Patrick at 11:20 on Tuesday 2nd June 2026 [link]
I need help installing RGraph, how do I install Rgraph?

Where do I find the npm install command?

Thanks

Posted by Richard at 17:54 on Tuesday 2nd June 2026 [link]
There's no npm package available because there doesn't really need to be one. You could probably get away with just two files if you just wanted a simple, straightforward chart: the chart-type file (eg the RGraph.bar.js file) and the core library (the RGraph.common.core.js file).

You can download the RGraph zip archive (which contains everything that you need) and extract it to a directory on your web server (or locally if that's what you want). You can get that from the download page:

https://www.rgraph.net/download.html#stable

Then there's comprehensive setup documentation available here to help you get up and running with your first chart:

https://www.rgraph.net/install/starting.html

After you get a chart up and running, you'll probably want to tailor it to your own tastes, so there's API documentation available here that details all of the configuration options:

Canvas: https://www.rgraph.net/canvas/charts.html
SVG: https://www.rgraph.net/svg/index.html#available-chart-types-and-option-references

The full documentation is available here:

Canvas: https://www.rgraph.net/canvas/index.html
SVG: https://www.rgraph.net/svg/index.html

If you have any further questions please come back to me here.

Richard

Posted by Patrick at 21:48 on Tuesday 2nd June 2026 [link]
is there a full page example availabld?

Posted by Richard at 10:14 on Wednesday 3rd June 2026 [link]
There are lots of "single page" examples of charts in the download archive that you get from the download page that's linked above.

These pages have minimal HTML in them and minimal JavaScript to help show what's needed to create the chart.

They all work "out of the box" when you extract the archive to a directory on your computer to make it easy to get them up and running and show the code that's necessary without you having to view the source in your browser.

Post a reply

What's your name?
What do you want to say?