Home Forums Chart Support Value cell table into dataPoints

Value cell table into dataPoints

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6418

    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

    #6430

    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.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.