An introduction to RGraph
What is RGraph?
Why should you use RGraph?
Here are some reasons why you should consider using RGraph for your charting requirements:
- RGraph is Free and Open Source
- It's easy to use with an intuitive API making it simple to use
- RGraph is highly performant
- RGraph works on many different devices
- RGraph supports both SVG and canvas charts
- RGraph is standalone and has no dependencies
- Great support straight from the developer
How do I get started?
Depending on which set of libraries you want use (ie SVG or canvas) then there are two paths open to you along with the installation documentation:
The installation documentation
(This applies to both the SVG and canvas libraries)
The installation documentation takes you through getting started with RGraph and the steps that are necessary to get it up and running and displaying your data. It has information that will be useful to you about debugging your charts, connecting to a database, making AJAX requests and improving the performance of your charts (and your HTML pages in general).
Related to this there's also separate documentation on the RGraph website about connecting to a Google Sheets spreadsheet and importing data from a CSV file. . Both of these documents cater to both the SVG and the canvas libraries.
SVG is often touted as being the better choice for charting on the web and RGraph has around 12 base types of SVG charts ranging from Bar and Line charts to Funnel and Waterfall charts. The SVG charts are newer additions to RGraph - they were added starting in 2016.
The canvas charts are the original charts that RGraph was made up of. Canvas is technically faster than SVG though SVG is the popular choice made by most web developers when it comes to their charting needs.
The various different types that you can make with the RGraph libraries now totals at around 50-60 and there are 21 base libraries.
Whichever flavour you go for (SVG or canvas) you'll find RGraph to be a very capable charting solution. There are hundreds of demos that are available to you that aim to show you what RGraph is capable of.