<?php
/**
 * phpaga
 *
 * jpgraph class wrapper
 *
 * This is a wrapper class for JpGraph's Graph class.
 *
 * @author Florian Lanthaler <florian@phpaga.net>
 * @version $Id: jpgraph_wrapper.php 576 2005-08-11 21:16:21Z worf $
 *
 * Copyright (c) 2002, Florian Lanthaler <florian@phpaga.net>
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *    * Redistributions of source code must retain the above copyright
 *      notice, this list of conditions and the following disclaimer.
 *
 *    * Redistributions in binary form must reproduce the above copyright
 *      notice, this list of conditions and the following disclaimer in
 *      the documentation and/or other materials provided with the
 *      distribution.
 *
 *    * Neither the name of Florian Lanthaler nor the names of his
 *      contributors may be used to endorse or promote products derived
 *      from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/* The following needed to avoid JpGraph throwing an error */
$GLOBALS["php_errormsg"] = null;

/* include_once graph libraries */
include_once(JPGRAPH_DIR."jpgraph.php");
include_once(JPGRAPH_DIR."jpgraph_bar.php");
include_once(JPGRAPH_DIR."jpgraph_pie.php");
include_once(JPGRAPH_DIR."jpgraph_pie3d.php");
include_once(JPGRAPH_DIR."jpgraph_gantt.php");

$phpaga_piecolors = array("darkolivegreen4",
                          "bisque4",
                          "lightsalmon4",
                          "gray8",
                          "lightskyblue3",
                          "cornsilk",
                          "steelblue4",
                          "khaki1",
                          "palegreen3",
                          "orange",
                          "olivedrab1",
                          "navy",
                          "limegreen",
                          "red",
                          "indianred2",
                          "goldenrod",
                          "firebrick4",
                          "azure4",
                          "dimgray");

/**
 * This is a wrapper class for JpGraph's Graph class.
 *
 * @author Florian Lanthaler <florian@phpaga.net>
 * @since phpaga 0.1
 */

class JpGraph extends Graph
{
}

?>