TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Source for file NextAxisLabelValue.php

Documentation is available at NextAxisLabelValue.php

  1. <?php
  2.  
  3.  /**
  4.  * NextAxisLabelValue class
  5.  *
  6.  * Description:
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @subpackage axis
  13.  * @link http://www.steema.com
  14.  */
  15.  
  16.  class NextAxisLabelValue {
  17.  
  18.     private $labelValue;
  19.     private $stop false;
  20.  
  21.     // Interceptors
  22.     function __get$property {
  23.       $method ="get{$property}";
  24.       if method_exists$this$method ) ) {
  25.         return $this->$method();
  26.       }
  27.     }
  28.  
  29.     function __set $property,$value {
  30.       $method ="set{$property}";
  31.       if method_exists$this$method ) ) {
  32.         return $this->$method($value);
  33.       }
  34.     }
  35.  
  36.     /**
  37.     * The class constructor.
  38.     */
  39.     public function NextAxisLabelValue($labelValue=null$stop=null{
  40.         $this->stop false;
  41.         if ($labelValue!=null)
  42.           $this->labelValue $labelValue;
  43.  
  44.         if ($stop!=null)
  45.           $this->stop $stop;
  46.     }
  47.     /**
  48.     * Specifies  the desired Axis Label value.
  49.     *
  50.     * @param labelValue double
  51.     */
  52.     public function setLabelValue($labelValue{
  53.         $this->labelValue $labelValue;
  54.     }
  55.     /**
  56.     * Returns the desired Axis Label value.
  57.     *
  58.     * @return double 
  59.     */
  60.     public function getLabelValue({
  61.         return $this->labelValue;
  62.     }
  63.     /**
  64.     * The Stop  parameter is  false  by default, meaning that if it's not<br>
  65.     * set to  true  the first time this event gets called, TeeChart will<br>
  66.     * draw the default Axis Labels.<br><br>
  67.     * Default value: false
  68.     *
  69.     * @param stop boolean
  70.     */
  71.     public function setStop($stop{
  72.         $this->stop $stop;
  73.     }
  74.     /**
  75.     * The Stop  parameter is  false  by default, meaning that if it's not<br>
  76.     * set to  true  the first time this event gets called, TeeChart will<br>
  77.     * draw the default Axis Labels.<br><br>
  78.     * Default value: false
  79.     *
  80.     * @return boolean 
  81.     */
  82.     public function getStop({
  83.         return $this->stop;
  84.     }
  85. }
  86.  
  87. ?>

Documentation generated on Wed, 16 Jun 2010 12:07:06 +0200 by phpDocumentor 1.4.1