How do I add up a row of a CSV?

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 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




« Back to message list