You must be logged in to post your query.
Home › Forums › Chart Support › Value cell table into dataPoints
Sorry to bother you guys, I don’t know how to do it: I’m trying to take the value of a determined cell (on a table) and add at dataPoints but without successful. The code below is something looks like I want:
for (var r = 0, n = table.rows.length; r < n; r++) { for (var c = 0, m = table.rows[r].cells.length; c < m; c++) { dataPoints.push({label:table.rows[r].cells[0].innerHTML ,y:table.rows[r].cells[4].innerHTML )}; …
What I’m trying to do is use the informations of a table and do a chart! Could some one help-me?
Thanks
Hi Alphonsus,
I can help you to draw a graph using table values as datapoints,can you create a Jsfiddle for the same so that i can see exactly where you are getting problem.
You must be logged in to reply to this topic. Login/Register