
Untitled
By: a guest on
Feb 24th, 2013 | syntax:
None | size: 0.60 KB | hits: 21 | expires: Never
[['Host Name', 'No. of Events'], [u'12.23.21.23', 0], [u'2.152.0.2', 2]]
var data = google.visualization.arrayToDataTable([
['Host_name', 'No of events'],
['12.23.21.23', 0],
['2.152.0.2', 2]
]);
var data = google.visualization.arrayToDataTable({{list_a}});
var data = google.visualization.arrayToDataTable([['Host Name', 'No. of Events'], [u'12.23.21.23', 0], [u'2.152.0.2', 2]]);
'
['12.23.21.23', 0] See the quotes on ip address field but not to the next field
var data = google.visualization.arrayToDataTable({{ list_a|json|safe }})