Download RGraph

Download the RGraph software and read the changelog or backwards compatibility notes. Read the backwards compatibility notes before changing to a new version. There's also a minified set of libraries and you can also download older versions of RGraph.

Download the latest version of RGraph

The download archive contains all of the demos (some of which are viewable online).

Download the stable version of RGraph Download the latest version (6.05)    [changelog]    [Backwards compatibility]    [setup documentation]    [GitHub]

Creating, maintaining and supporting RGraph is my full-time job, please consider donating. Thanks.
Donate £9
Donate £19
Donate £49
Donate £99
Donate £249
Other amount

Download minified versions of RGraph

You can download pre-minified versions of the libraries (which have extraneous whitespace and comments removed).

Download the last 5.xx version of RGraph

If you want to use the last 5.xx version of RGraph from March 2021 the archive is available here:

Download the stable version of RGraph Download the last 5.xx version (5.28)    [Backwards compatibility]    [setup documentation]    [GitHub]

Download older versions of RGraph

If you need an older version of RGraph you can find a list going back to version 4.59 (December 2016) below.

Find RGraph on GitHub

After some time (too much!) RGraph is now available through GitHub. It doesn't use all of the features that GitHub offers - but as time goes on that will change - particularly as my familiarity with the platform grows.

View the source code of the RGraph files

If you want to view the original library files and see the source code then you can use these links. As new versions are released then these will of course be the latest versions.

SVG common libraries

  • RGraph.svg.common.ajax.js (6kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.core.js (182kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.csv.js (12kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.fx.js (42kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.key.js (15kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.sheets.js (15kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.table.js (10kb) [GitHub: home raw] [CDN: src min]
  • RGraph.svg.common.tooltips.js (27kb) [GitHub: home raw] [CDN: src min]

SVG libraries

Canvas common libraries

  • RGraph.common.annotate.js (12kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.context.js (23kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.core.js (300kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.csv.js (14kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.dynamic.js (53kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.effects.js (54kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.key.js (31kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.moment.js (170kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.sheets.js (15kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.starburst.js (12kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.table.js (10kb) [GitHub: home raw] [CDN: src min]
  • RGraph.common.tooltips.js (36kb) [GitHub: home raw] [CDN: src min]

Canvas libraries

Canvas drawing API libraries

  • RGraph.drawing.background.js (18kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.circle.js (16kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.image.js (24kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.marker1.js (20kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.marker2.js (19kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.marker3.js (14kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.poly.js (17kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.rect.js (16kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.text.js (19kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.xaxis.js (18kb) [GitHub: home raw] [CDN: src min]
  • RGraph.drawing.yaxis.js (19kb) [GitHub: home raw] [CDN: src min]

Get the RGraph libraries on cdnjs.com

If you wish to use a CDN (Content Delivery Network) for the RGraph libraries, they're available via <cdnjs>. You can view the libraries that are available at the link below:

Download PhantomJS - the command-line browser

If you want to create charts or simply render web pages from command-line scripts then PhantomJS is for you.

The PhantomJS project appears to have stalled - but using the download archives that I've mirrored here you can still happily use it to create charts from command-line scripts etc.

Here is an example page that you could put on your website that creates a Line chart. You can request and download this page with PhantomJS which can then save the image of the page to your local machine (or wherever you're running PhantomJS from).

It doesn't have to be the whole page - if you want, PhantomJS can save an image of just a portion of the page - in this case just the top left using a width and height that matches the size of the chart.

Thus you then have an image of just the chart that you can use wherever you wish. You could even rig it so that neither SVG nor canvas are used on your website at all and you just use PhantomJS behind the scenes so that you only use images on your website.

Here's some example PhantomJS code that I've previously used to get a picture of the above test page saved locally:

var page = require('webpage').create();

page.open('https://www.rgraph.net/phantomjs.html', function()
{
    page.viewportSize = {
        width: 850,
        height: 300
    };
    
    page.render('rgraph-canvas.png');
    
    phantom.exit(0);
});

There's also a PhantomJS HOWTO guide that applies to both the SVG and canvas libraries.

The current RGraph changelog and older release notes

The changelog is a summary of changes to RGraph that may interest you or that you should be aware of. You can also find older release notes for past releases here.

Backwards compatibility breaks

Occasionally backwards compatibility has to break - you can read about those breaks here.