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.
Version 7.01 released
Version 7.01 (released in October 2025) is the latest version of RGraph and now includes a new tree structure object. The accompanying Treemenu object can then turn the object into a fully dynamic tree menu. You can read the API documentation for the tree on the main API documentation page and see an example of the Treemenu feature by following this link...
New HTML datagrid
In the April 2025 (v6.21) release a new datagrid object was 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.
Download
Get the latest version of RGraph (version 7.01, 8th October 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.
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.Demos of charts
These are some of the example demo pages that come with the download archive. They run as soon as you extract it and are located in the demos/ directory. The majority of them run using just the RGraph libraries though a few do use the Google CDN hosted jQuery library.
There's over 1000 demos in the download archive - so when viewing the list of them in Google Chrome you can use the LinkClump Plus extension to make opening 100 (for example) of them at once a breeze. Similar extensions are available for other browsers.
More examples
- An adjustable Bar chart
- A basic Bar chart
- Google's power usage
- An example of an interactive key
- A customised, adjustable Bar chart
- A nested Donut chart
- A Horizontal Bar chart using the CSV reader
- A Horizontal Bar chart with formatted tooltips
- A canvas-based black Line chart
- A Line chart using the CSV reader
- A combined SVG Bar/HBar chart
- blue SVG Horizontal Bar chart
- A black and orange SVG Horizontal Bar chart
- A mock-up of Google Analytics
- A Line chart dashboard
- A dynamically updating Line
Demos on the RGraph blog
These are just a few examples - there are nearly 1000 more demo pages in the download archive. Also, the list below shows you more examples that are on the RGraph blog.
- New dual-color trendline demo pages `
- A new example of a filled Line chart with alternating colors
- A new way to produce a vertical line chart
- New style of Semi-circular Progress meter
- A new 3D Bar chart demo
- Older demo added to the download archive
- New dual-color Line chart added to the download archive
- SVG Bipolar to support uneven data
- New Line chart Wave effect
- Updated multi-color Line chart demo
- A 3D Line chart demonstration
- An attractive new Horizontal Bar chart demo