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 »


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

More »


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 »

Installation and setup information

The benefits of using RGraph

Read about the benefits of using RGraph
Read about the benefits of using RGraph to show charts on your website. Benefits include things such as saving money, better website performance and it also allows you to create pretty charts!

Browser support for RGraph

Read about browser support for RGraph
Information about browser support for RGraph. For years now browser support for canvas and svg has been good with most of both desktop and mobile browsers able to display them.

Getting started with RGraph

Read how to get up and running with RGraph
How to start with RGraph - a basic chart. This bit of information is an easy way to understand how RGraph works and how you can use it on your website.

Integration with server-side scripting

Learn about integrating RGraph with server-side scripting
Learn how to add RGraph to your server-side scripts. This page has examples of using the php mysql, mysqli and pdo extensions. Learn how to make ajax requests, saving your (canvas) charts as images and how to read csv data.

Improving the performance of your charts

Improving the performance of your charts
Hints and tips on how to improve the speed of your charts and also your entire website. The tips here are aimed at increasing the speed of your charts but many can also be applied across your whole site (eg using gzip compression) giving your website and your charts even more of a speed boost. Studies have shown that having a faster website can make your users happier and can then lead on to bigger sales figures and turnover!