[RGRAPH SUPPORT] An error is being displayed on my page

An error is being displayed on my page

Post a reply
Posted by Jon Erik at 10:43 on 29th April 2021
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 29th April 2021
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 29th April 2021
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 29th April 2021
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 19th May 2021
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 21st May 2021
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)

Post a reply

What's your name?
What do you want to say?