Preparing a JSON object will all your computed data and using it to 
initialize the Datatable is a possibility.
The DataTable also offers a programmatic API to set rows, columns and single 
cell values (methods: addRow(), addColumn(), setValue()). In particular, 
addRow() and setValue() let you set an arbitrary value of a table row (or 
cell), and you can use that to set a cell value with the output of your 
calculations.

Have a look at this example:
http://code.google.com/apis/ajax/playground/?type=visualization#scatter_chart

The example fills the contents of the DataTable (subsequently used to draw a 
chart, but you could use it for other visualizations) with the output of a 
numerical calculation. 

Would that fit your case?

/R.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to