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

Source for file HorizontalAxis.php

Documentation is available at HorizontalAxis.php

  1. <?php
  2.  
  3. /**
  4. *
  5. * <p>Title: HorizontalAxis class</p>
  6. *
  7. * <p>Description: Describes the possible values of Series.HorizAxis.</p>
  8. *
  9. * <p>Copyright (c) 2005-2008 by Steema Software SL. All Rights
  10. * Reserved.</p>
  11. *
  12. * <p>Company: Steema Software SL</p>
  13. *
  14. */
  15.  
  16. {
  17.    /**
  18.    * Associates the series with the top axis.
  19.    */
  20.    public static $TOP 0;
  21.    /**
  22.    * Associates the series with the bottom axis.
  23.    */
  24.    public static $BOTTOM 1;
  25.    /**
  26.    * Associates the series with both the top and bottom axes.
  27.    */
  28.    public static $BOTH 2;
  29.    /**
  30.    * Associates the series with a custom axis.
  31.    */
  32.    public static $CUSTOM 3;
  33.  
  34.    public function HorizontalAxis()    }
  35.  
  36.    public function fromInt($value)
  37.    {
  38.       switch($value)
  39.       {
  40.          case 0:
  41.             return self::$TOP;
  42.          case 1:
  43.             return self::$BOTTOM;
  44.          case 2:
  45.             return self::$BOTH;
  46.          default:
  47.             return self::$CUSTOM;
  48.       }
  49.    }
  50. }
  51. ?>

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