A table in Google Charts is drawn in the same way as a graph and can use
the same data.
Create divs to hold the graph and the table then simply draw them both in
nearly the same way.
two divs - chart_div and table_div
1 data table - data
Draw the chart and table:
var chart = new
google.visualization.LineChart(document.getElementById("chart_div"));
chart.draw(data);
var table = new
google.visualization.Table(document.getElementById("table_div"));
table.draw(data);
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/0ae83153-0250-4fd4-a060-670935444589%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.