File: sample_table_pattern.php

Recommend this page to a friend!
  Classes of Tom Schaefer  >  QGoogleVisualizationAPI 2009  >  sample_table_pattern.php  >  Download  
File: sample_table_pattern.php
Role: Example script
Content type: text/plain
Description: Table Pattern with DataView
Class: QGoogleVisualizationAPI 2009
Generate charts with Google Visualization API
Author: By
Last change:
Date: 12 years ago
Size: 966 bytes


Class file image Download

include_once 'Google.merge.v_1_0.php';

// main
$v = new Google_Visualization("Table_Format");

// config
$c = new Google_Config("Table");
$c->setProperty("allowHtml", true);
$c->setProperty("showRowNumber", true);

// format
$f = Google_Format::factory("Pattern");
$f->pattern('<a href="mailto:{1}">{0}</a>');

// data view

$d = new Google_Data_View;

// data
$o = Google_Data::getInstance()->getDataObject();





echo $v->render();
    <div id="chart"></div>

For more information send a message to info at phpclasses dot org.