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