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

More »

 

New datagrid in v6.21
In version 6.21 a new datagrid object has been 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 6.21, 10th April 2025) 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 »

SVG Bipolar updated to support uneven data

Written by Richard Heyes, RGraph author, on 1st April 2022

This isn't an April Fools joke I promise (!) - the svg Bipolar chart has been updated to support uneven data. What does this mean? Well just take a look at the example shown here - you can now mix regular and grouped/stacked sets of bars on the same chart and it won't explode! Which is nice.

<script>
    new RGraph.SVG.Bipolar({
        id: 'chart-container',
        left: [[4,5,1],8,6,[4,8,8],[5,1,2,3],1,[8,6]],
        right: [9,[5,4,3,5],[4,2],4,1,[8,8,4,3],[4,5]],
        options: {
            tooltips: 'Value: %{value}',
            yaxisLabels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
            textSize: 16,
            textBold: true
        }
    }).draw();
</script>