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.Image to data: URL
This only works for online images, that are on the [] domain. There's no server-side
scripting though, so feel free to take the source and put it on your own website and use it there.
Why use data: URLs?
By using data: URLs you reduce the number of HTTP requests needed to display your page since the images are part of the
page itself. This does mean though that the images can't be cached (unless of course the page itself is cached). But, if you were
to reuse the same image on subsequent pages, they wouldn't be cached. You can get around this though by using some
javascript
at the bottom of your page to change the URLs to the real image files, or just javascript
to request the
files and display them off screen (positioned absolutely).
You may need to press the Go button twice.
URL: The data: URL: A full image tag with the URL as the src attribute:The image itself using the data: URL: