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 »

 

Version 7.11
Version 7.11 (released in March 2026) is the latest version of RGraph and contains just a few updates to the code which you can see on the changelog page. There's a new dumbbell variation for the Bar and Horizontal bar charts (both SVG and canvas) and the front page layout of the website has been tweaked.

Download »

 

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.

Read more »

 

Download
Get the latest version of RGraph (version 7.11, 21st March 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 »

 

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 »

An error is being displayed on my page


Posted by Jon Erik at 10:43 on Thursday 29th April 2021 [link]
I get a error message
Warning: A non-numeric value encountered in /var/www/groeset.com/vannstand/plugins/content/rgraph/lib/rgraph_options.php on line 383

use the following code:

{rgraph width="500" height="400" type="Line"
data="csv" csv_parm="http://vannstand.groeset.com/VannforingOrkla.csv,23" csv_cols=" 2 , 4, 5, 6, 8, 9,10"
title="Vannstand i Orkla"
x_step="2" textAngle="20" chart_alignment="center" tooltip="#val#"
gutterBottom="60" gutterLeft="80" scaleDecimals="2"}test{/rgraph}

http://vannstand.groeset.com/

How can I fix this ?

Posted by Richard at 11:31 on Thursday 29th April 2021 [link]
3 things:

1. That's a PHP error so it's not related to RGraph.
2. Your CSV file appears to have a number of non-data lines at the start.
3. I don't recognise your RGraph "code" - it doesn't appear to be JavaScript.

Richard

Posted by Jon Erik at 15:32 on Thursday 29th April 2021 [link]
It is joomla addon
what should I do to make a nice working graph make a plain page or any ideas ?

Posted by Richard at 15:40 on Thursday 29th April 2021 [link]
Sorry I've not used Joomla before. Try asking about that error on a Joomla support forum or email list if there is one.

For a plain chart try starting with the basic Bar chart demos that come with RGraph in the demos folder.

Richard

Posted by Joachim at 16:41 on Wednesday 19th May 2021 [link]
hi,
the numbers of your csv-data must have a decimal point instead of a decimal komma. This causes the php error.

Posted by Joachim at 14:37 on Friday 21st May 2021 [link]
if rgraph-joomla plugin is >v.2.1.3 then remove last line of your csv-file or add valid data (last line contains invalid data)

[Replies are closed]