About
RGraph is a JavaScript charts library based on
HTML5 SVG and canvas. RGraph is mature (over 15 years
old) and has a wealth of features making it an ideal
choice to show charts on your website.
Download
Get the latest version of RGraph (version 6.17) from
the download page. 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 (£99) commercial license available.SVG Bipolar updated to support uneven data
Written by Richard Heyes, RGraph author, on 1st April 2022View example on CodePen
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 image
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>