JavaScript charts to super-charge your pages

  Read comments...

Animate! :: More 3D charts...

RGraph is a free library that creates charts dynamically with JavaScript and both the <canvas> and <svg> tags.

It supports lots of different kinds of visualisations from Bar and Line charts through to Meters and Progress bars.

SVG charts are new to RGraph in November 2016 initially with just the Bar and Line charts. Now though, there is a growing collection of other chart types and you can see them all here. More types and features will follow.

RGraph is quick, attractive, easy and free to use.

 

Built on the widely supported canvas and SVG elements desktop and mobile support is excellent and that allows you to create charts and dashboards that you can use on a wide range of devices. Owing to the fast rendering of the canvas and SVG tags, your charts can be up to 10x faster than Flash or HTML based libraries.

 

This means you can create good looking and informative charts and dashboards.

 

For example here's a blog post that shows off 9 examples of good looking charts that you'll find in the demos that are bundled with the archive.

 

New demos and examples

Recent examples and demos (the demos are included in the archive). Think you can create better looking charts? Just post it in the forum and if I like it I'll add it!

 

 

RGraph advantages

 

 

Open source

RGraph is Open Source using the MIT license. This means that you are able to do with it whatever you wish!

HTML5 Technology

RGraph uses up-to-date and quick HTML5 canvas, SVG and JavaScript technology. SVG is a recent addition and the number of SVG charts is growing.

 

 


Lots of charts, features and documentation

There are lots of plus points to using RGraph to make your charts with, and it can make many different chart types, which you can see from the documentation and examples.

To see all of the examples (there are over 500!) you can take a look at the demo area.

 

 

Versatile and customisable

The charts can be customised using the properties to look attractive and they can fit into your website easily. The charts are customised using simple JSON such as the code below.

<script src="RGraph.common.core.js"></script>     // Always required
<script src="RGraph.common.dynamic.js"></script>  // Only required for dynamic features
<script src="RGraph.common.tooltips.js"></script> // Only required for tooltips
<script src="RGraph.bar.js"></script>             // Required for Bar charts

<canvas id="cvs" width="650" height="250">[No canvas support]</canvas>

<script>
    new RGraph.Bar({
        id: 'cvs',
        data: [ [4,8,3],[5,2,1], [8,4,2],[3,6,1],[5,1,0],[2,5,1],[1,2,2] ],
        options: {
            variant: '3d',
            strokestyle: 'rgba(0,0,0,0)',
            colors: ['Gradient(#fbb:red)', 'Gradient(#bfb:green)','Gradient(#bbf:blue)'],
            gutterBottom: 80,
            labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
            shadowColor:'#ccc',
            shadowOffsetx: 3,
            backgroundGridColor: '#eee',
            variantThreedAngle: 0.1,
            axisColor: '#ccc'
        }
    }).draw();
</script>

As well as customising the charts to look how you want you can manipulate the data to show different kinds of things - such as the fan style Line chart showing increasing deviation from a predicted set of values .

 

 

Download it and try it out

The best way to find out what RGraph is like is to download it and try it out!

Download the latest version of RGraph Download the latest version of RGraph

Other pages to look at include:


If you like RGraph please share it: