Trying to make chart that uses imported CSV data

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Jon on 5th July 2017
Hi,

I want to use a diagram like this to be a clean site outside of my joomla site. Look at:

orklaguiden.no/index.php/vannforing

I have no idea how to setup the code for this tried now several different but it doesn't show. Are you able to help me ?

Data csv is at :

orklaguiden.no/vannstand/VannforingOrkla.csv
Posted by Richard on 5th July 2017
Hi there,

Well here's an example using the CSV importer to get the labels, but not knowing how your data is formatted I couldn't add the data to the chart. You'll need to tell me more about the format if you want me to add that to the chart.

www.rgraph.net/tests/import-data-from-csv.html


Richard
Posted by Jon on 5th July 2017
Each column is a line. Its waterflow at different measure stations. And hours ar bottom line. Auto uploaded every hour
Posted by Richard on 5th July 2017
Hi there,

I still don't know which values you need to represent on the chart out of this:

For example:

04/07/2017 T01;574,18;30,31;1,62;102,64;51,23;10,03;-5,43;27,27;17,75;59,75;

Obviously there's the date at the start of the row - but the rest is meaningless to me.

Richard
Posted by Jon on 5th July 2017
orklaguiden.no/vannstand/vannstand.php
There you can see what station the chart is. Hour and each measure station. Cools needed is" 2 , 4, 5, 6, 8, 9,10"
Posted by Richard on 5th July 2017
Hi there,

Are you using a semi-colon ";" as the column separator and a comma "," as the decimal separator?

Richard
Posted by Jon on 5th July 2017
Yes
Posted by Richard on 5th July 2017
Hi there,

Ok I'll update the example for you tomorrow.

Richard
Posted by Jon on 5th July 2017
Thank you
Posted by Richard on 6th July 2017
Hi there,

OK I've updated the example for you:

www.rgraph.net/tests/import-data-from-csv.html



Richard
Posted by Jon on 6th July 2017
Thank you
Looks ok. Should say m2/s instead of kg. Is there a way to show the numbers when pressing the line somehow ?
Posted by Richard on 6th July 2017
Hi there,

> Is there a way to show the numbers when pressing the line somehow ?

Not really. You could cook something up with HTML below the chart.



Richard
Posted by Jon on 7th July 2017

orklaguiden.no/rgraph/vannstanden.html

Really feel silly here :P
Get a blank page when upyoading to my server
Posted by Richard on 7th July 2017
Hi there,

In Chrome press CTRL+SHIFT+J to see the console - it's reporting a 404 for the CSV:

orklaguiden.no/rgraph/VannforingOrkla.csv


Richard
Posted by Jon on 7th July 2017
Ah figured it out
Thanks

Add a reply




« Back to message list