I have a json response like follow,
[
{
"Value":"80,120"
},
{
"value2":"117,120"
},
{
"value3":"105,111"
},
{
"value4":"40,77"
},
{
"value5":"27,44"
}
]
How to form this json structure in to a table to dynamically draw a barchart? Right now I'am statically mentioning the values here.
function drawChart() {
var data = google.visualization.arrayToDataTable([
['value', '80', '120'],
['value1', '70', '300'],
['value2', '90', '400'],
['value3', '100', '230']
]);