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.20
Version 7.20 (released in June 2026) is the latest version of RGraph and the major change in this version is an update to the default values of properties making for better looking charts without having to set any properties. Read more about this and other changes in the changelog.

Download »

 

Download
Get the latest version of RGraph (version 7.20, 9th June 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 »

 

Latest forum posts
These are the latest support forum posts that have been posted or updated.


12th June, Marco
Should I use SVG or canvas for the charts on my website?
9th June, Richard
New version of RGraph: version 7.20
3rd June, Patrick
Question about installing RGraph
1st June, Ouja
How do I add a click event to a bar in my Bar chart?
8th May, Anthony Kuma
Does the SVG Line chart have outofbounds functionality?


Support forum »

 

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 »

Improving the performance of your charts

Although performance is great, (certainly compared to server-based libraries), you may still want to tune RGraph more.

The biggest thing you can do is use HTTP compression, which reduces the initial download time of the libraries, but there are quite a few things that you can do:

A reasonable performance strategy

Though there's a lot you can do to increase performance, a few of the points here will be enough for most websites:

The number one thing you should do is compress your libraries. This has many benefits and easily provides the most gain, effectively for free.

Secondly, use the minified libraries. Because you can download the minified libraries here, you might as well use them.

Then we have pre-emptive caching. Because most websites won't show charts on the front page or will have a login page before any charts are shown, this effectively eliminates the library files download.

And lastly, caching should be done as a matter of course. There's no reason to keep downloading the same library so even caching for only 30 minutes (or the duration of an average visit to your website) will produce results.

General website performance tools

If you aim to improve your website's performance as a whole then you may be interested in these tools:

Note about performance and HTTP/2

From 2016 HTTP/2 will become more widespread - with many people planning to make the switch to it and this includes many hosting providers.

Patterns such as "domain sharding" (using multiple hostnames) and combining your JavaScript libraries become anti-patterns and are less useful (and in some cases actually hurt performance).

If you're planning to switch to HTTP/2, or already have, then you should compare the advantages of some of these techniques versus not using them and decide what, if any, the benefit is.

Again, in some cases, the use of some of these techniques may not help at all and may even hurt performance.