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

Source for file Footer.php

Documentation is available at Footer.php

  1. <?php
  2.  
  3. /**
  4.  * Footer class
  5.  *
  6.  * Description:Text displayed below Chart
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2010 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @link http://www.steema.com
  13.  */
  14.  
  15. class Footer extends Title
  16. {
  17.  
  18.     // Interceptors
  19.     function __get$property {
  20.       $method ="get{$property}";
  21.       if method_exists$this$method ) ) {
  22.         return $this->$method();
  23.       }
  24.     }
  25.  
  26.     function __set $property,$value {
  27.       $method ="set{$property}";
  28.       if method_exists$this$method ) ) {
  29.         return $this->$method($value);
  30.       }
  31.     }
  32.  
  33.    public function Footer($c)
  34.    {
  35.       parent::Title($c);
  36.  
  37.       TChart::$controlName .= 'Footer_';        
  38.               
  39.       $tmpColor new Color(25500);// RED
  40.       $this->getFont()->getBrush()->setDefaultColor($tmpColor);
  41.       $this->onTop = false;
  42.    }
  43.  
  44.    protected function readResolve()
  45.    {
  46.       $this->onTop = false;
  47.       return $this;
  48.    }
  49.  
  50. }
  51. ?>

Documentation generated on Wed, 16 Jun 2010 12:05:24 +0200 by phpDocumentor 1.4.1