PHP Classes

File: QAnnotatedtimelineGoogleGraph.class.php

Recommend this page to a friend!
  Packages of Tom Schaefer   QGoogleVisualizationAPI   QAnnotatedtimelineGoogleGraph.class.php   Download  
File: QAnnotatedtimelineGoogleGraph.class.php
Role: Class source
Content type: text/plain
Description: Annotated timeline for commendation by Jorge Garifuna at Dzone
Class: QGoogleVisualizationAPI
Google Visualization API (deprecated)
Author: By
Last change: Enhancing
Date: 18 years ago
Size: 1,478 bytes
 

Contents

Class file image Download
<?php

/**
 * Wrapper for Google Visualisation API
 * Visualisation type: Annotated Time Line
 * @author Thomas Schäfer
 * @since 2008-06-29
 *
 */
class QAnnotatedtimelineGoogleGraph extends QVizualisationGoogleGraph {

    /**
     * visualisation type holder
     *
     * @var string
     */
    protected $vizualisationType = "AnnotatedTimeLine";

    /**
     * holder for default properties
     *
     * @var array
     */
    protected $drawProperties = array("width"=>"740px", "height"=>"240px", "displayAnnotations" => "true");

    /**
     * holder for google api package name
     *
     * @var string
     */
    protected $package = "";

    /**
     * holder for registered api methods
     *
     * @var array
     */
    protected $configuration = array(
        "allowHtml" => array("datatype" => "bool"),
        "annotationsWidth" => array("datatype" => "number"),
        "allowHtml" => array("datatype" => "bool"),
        "colors" => array("datatype" => "array"),
        "displayAnnotations" => array("datatype" => "bool"),
        "displayAnnotationsFilters" => array("datatype" => "bool"),
        "displayExactValues" => array("datatype" => "bool"),
        "min" => array("datatype" => "number"),
        "legend" => array(
            "values" => array("fixed", "maximize"), 
            "datatype" => "string"
        ), 
        "wmode" => array(
            "values" => array("opaque", "window", "transparent"), 
            "datatype" => "string"
        ), 
        "zoomEndTime" => array("datatype" => "date"),
        "zoomStartTime" => array("datatype" => "date"),
    );

}