Source for file AxisLabelsItems.php
Documentation is available at AxisLabelsItems.php
* Description: Custom labels list
* @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);
* Accesses indexed Label characteristics
return $this->offsetget($index);
* @param value double The axis data value
* @return new AxisLabelItem
public function add($value, $text= null) {
$result->iAxisLabelsItems = $this;
$result->setTransparent(true);
$result->setValue($value);
for ( $t = 0; $t < sizeof($source); $t++ ) {
$this->offsetset($source->getItem($t)->getValue(), $source->getItem($t)->getText());
* Clears custom labels list
public function clear() {
$this->iAxis->chart->invalidate();
|