Source for file ColorList.php
Documentation is available at ColorList.php
* Description:The ColorList class is manipulated via Series->Colors
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
function __get( $property ) {
$method = "get{$property}";
function __set ( $property,$value ) {
$method = "set{$property}";
return $this->$method($value);
$tmpColor = new Color(0,0,0,0,true);
return ($index < $this->getCount()) ? $this->offsetGet($index) : $tmpColor;
public function setColor($index, $value) {
$tmpColor = new Color(0,0,0,0,true);
$this->append($tmpColor);
$this->offsetSet($index, $value);
// TODO parent::removeRange($startIndex, $startIndex + $count - 1);
|