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 »

 

SQLiteEditor for PHP
The SQLite Editor for PHP software is a tool which will help you and/or your users administer and maintain your SQLite databases. Built as a tool that you can easily provide to your users, there's no danger of them damaging your database.

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.


16th June, Rachel
I have a question about the 3D Bar chart

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?

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 »

Horizontal Progress bar API reference

The Horizontal Bar chart can be customised to appear as a Horizontal Progress bar. This means that all of the properties of the Horizontal Bar chart, such as tooltips, can be used as well. There's a demo in the download archive.

Example

See all of the 1200+ demos in the download archive.

<script>
    new RGraph.SVG.HBar({
        id: 'chart-container',
        data: [10],
        options: {
            colors: ['#eee'],
            marginLeft: 15,
            marginRight: 15,
            backgroundGrid: false,
            colorsStroke: '#ccc',
            marginInner: 10,
            xaxisScale: false,
            linewidth: .5
        }
    }).draw();

    new RGraph.SVG.HBar({
        id: 'chart-container',
        data: [7],
        options: {
            xaxisScaleMax: 10,
            title: 'Results of the weekends competition',
            titleColor: '#666',
            colorsSequential: true,
            backgroundGrid: false,
            tooltips: ['Monday was an average day'],
            tooltipsCss: {
                backgroundColor: '#333',
                fontWeight: 'bold',
                fontSize: '14pt',
                opacity: 0.85
            },
            marginLeft: 15,
            marginRight: 15,
            marginInner: 15,
            xaxisScaleUnitsPost: '%'
        }
    }).grow();
</script>

See also