How do I add up a row of a CSV?


« 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 Javier Ventura on 7th September 2016
Good afternoon , and I can make a sum of a given row of a CSV file type and display it on the graph.
Thank you so much
Posted by Richard on 7th September 2016
Hi there,

Not sure what you're asking. If you have a CSV and you want to add up the values in a particular row then have a look at the CSV reader and the RGraph API function:

(number) RGraph.arraySum(array)

www.rgraph.net/docs/csv-file-reader.html
www.rgraph.net/docs/api.html#rgraph.arraysum



Richard
Posted by Enter your name... on 8th September 2016
thank you very much and I have been able to achieve .

Add a reply

 


Warning: file_get_contents(http://api.textcaptcha.com/c5v0c8vo7c0gsk88osgcw8k0w98j9qvb): failed to open stream: Connection timed out in /homepages/46/d548322256/htdocs/www/includes/captcha.php on line 15



« Back to message list
RGraph on social media