[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Graph/Chart/ -> pie3d.php (source)

   1  <?php
   2  /**
   3   * 3D Pie graph implementation for the Horde_Graph package.
   4   *
   5   * $Horde: framework/Graph/Graph/Chart/pie3d.php,v 1.1.10.4 2006/01/01 21:28:18 jan Exp $
   6   *
   7   * Copyright 2002-2006 Chuck Hagenbuch <chuck@horde.org>
   8   *
   9   * See the enclosed file COPYING for license information (LGPL). If you
  10   * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  11   *
  12   * @author  Chuck Hagenbuch <chuck@horde.org>
  13   * @since   Horde 3.0
  14   * @package Horde_Graph
  15   */
  16  class Horde_Graph_Chart_pie3d {
  17  
  18      var $graph;
  19  
  20      var $_dataset;
  21      var $_padding = 20;
  22      var $_outline = true;
  23      var $_colors = array('tan', 'palegoldenrod', 'olivedrab', 'blue', 'red', 'green', 'yellow',
  24                           'orange', 'gray', 'purple');
  25      /**
  26        "255,153,0",
  27        "0,204,153",
  28        "204,255,102",
  29        "255,102,102",
  30        "102,204,255",
  31        "204,153,255",
  32        "255,0,0",
  33        "51,0,255",
  34        "255,51,153",
  35        "204,0,255",
  36        "255,255,51",
  37        "51,255,51",
  38        "255,102,0");
  39      */
  40  
  41      function Horde_Graph_Chart_pie3d(&$graph, $params)
  42      {
  43          $this->graph = &$graph;
  44  
  45          foreach ($params as $param => $value) {
  46              $key = '_' . $param;
  47              $this->$key = $value;
  48          }
  49      }
  50  
  51      function draw()
  52      {
  53      }
  54  
  55  }


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7