Home Forums Chart Support Tabular presentation of graph data Reply To: Tabular presentation of graph data

#37584

@oleglr,

It is possible to create a dynamic table with the data from a dynamic chart as per your requirement. Kindly take a look at the code snippet below,

$("#chartData tr:first-child").append("<td>" + (color == "red" ? "" : "<span class='blue'>"+yVal+"</span>") +"</td>")
 $("#chartData tr:nth-child(2)").append("<td>"+ (color == "red" ? "<span class='red'>"+yVal+"</span>" : "") +"</td>")

Please take a look at this updated JSFiddle for an example on the same.


Adithya Menon
Team CanvasJS