$dt->assignData($o); echo $dt; ?> function drawVisualization() { <?php $dataVar = "table1"; $dataVar2 = "table2"; $dataVar3 = "table3"; $dataTable = "dataTable"; $options = null; $chart = new Google_Chart("Table", $dataVar); $chart->draw($dataTable, $options); echo Google_Base::getVarById($dataVar) . "\n"; echo Google_Base::getVarById($dataVar2) . "\n"; echo Google_Base::getVarById($dataVar3) . "\n"; echo $chart; $dataView = new Google_Data_View(); $dataView->setViewTable("dataView1"); $dataView->setDataTable($dataTable); $dataView->setColumns(array(0, 2)); echo $dataView; $chart2 = new Google_Chart("Table", $dataVar2); $chart2->draw($dataView, $options); echo $chart2; $dataView2 = new Google_Data_View(); $dataView2->setViewTable("dataView2"); $dataView2->setDataTable($dataTable); $dataView2->setColumns(array(0, 1, 3)); echo $dataView2; $chart3 = new Google_Chart("Table", $dataVar3);