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

Source for file Header.php

Documentation is available at Header.php

  1. <?php
  2.  
  3. /**
  4.  * Header class
  5.  *
  6.  * Description: Text displayed above 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 Header extends Title
  16. {
  17.    /**
  18.    * The class constructor.
  19.    */
  20.    function Header($c)
  21.    {
  22.       parent::Title($c);
  23.       
  24.       TChart::$controlName .= 'Header_';        
  25.  
  26.       $this->getFont()->getBrush()->setDefaultColor(new Color(70,70,70));    // (0,0,255)
  27.    }
  28. }
  29. ?>

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