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

Class: GridPen

Source Location: /axis/GridPen.php

Class Overview

TeeBase
   |
   --ChartPen
      |
      --GridPen

GridPen class


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods


Inherited Variables

Inherited Methods

Class: ChartPen

ChartPen::ChartPen()
ChartPen::assign()
ChartPen::getColor()
Determines the color used by the pen to draw lines on the Drawing.
ChartPen::getDashCap()
Defines segment ending style of dashed lines.
Default value: DashCap.Flat
ChartPen::getDashWidth()
ChartPen::getEndCap()
Style of line endings.
ChartPen::getStroke()
ChartPen::getStyle()
Determines the style in which the pen draw lines on the Drawing.
ChartPen::getTransparency()
Sets Transparency level from 0 to 100%.
Default value: 0
ChartPen::getVisible()
Determines if the pen will draw lines or not.
ChartPen::getWidth()
Determines the width of lines the pen draws.
Default value: 1
ChartPen::internalAssign()
ChartPen::invalidate()
ChartPen::reset()
ChartPen::setColor()
ChartPen::setDashCap()
ChartPen::setDashWidth()
ChartPen::setDefaultColor()
ChartPen::setDefaultStyle()
ChartPen::setDefaultVisible()
ChartPen::setEndCap()
Style of line endings.
ChartPen::setStyle()
Determines the style in which the pen draw lines on the Drawing.
ChartPen::setTransparency()
Sets Transparency level from 0 to 100%.
Default value: 0
ChartPen::setUsesVisible()
ChartPen::setVisible()
Determines if the pen will draw lines or not.
ChartPen::setWidth()
Determines the width of lines the pen draws.
Default value: 1
ChartPen::shouldSerializeColor()
ChartPen::shouldSerializeEndCap()
ChartPen::shouldSerializeStyle()
ChartPen::shouldSerializeVisible()
ChartPen::_assign()
ChartPen::_setColor()
ChartPen::__get()
ChartPen::__set()

Class: TeeBase

TeeBase::__construct()
TeeBase::getChart()
Chart associated with this object.
TeeBase::invalidate()
Use invalidate when the entire canvas needs to be repainted.
TeeBase::setBooleanProperty()
TeeBase::setChart()
Chart associated with this object.
TeeBase::setColorProperty()
TeeBase::setDoubleProperty()
TeeBase::setIntegerProperty()
TeeBase::setStringProperty()
TeeBase::_setColorProperty()
TeeBase::__get()
TeeBase::__set()

Class Details

[line 17]
GridPen class

Description: Determines the kind of pen used to draw the Grid lines at every Axis Label position




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

$centered =

[line 24]

When centered is true, grid is displayed in between axis labels.

When false, grid lines are drawn at axis labels positions.




Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor GridPen [line 47]

GridPen GridPen( chart $chart)

Creates a new Grid pen.



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart

[ Top ]

method getCentered [line 71]

boolean getCentered( )

Aligns the Grid to the centre.
DefaultValue: false



Tags:

access:  public


[ Top ]

method getStyle [line 60]

DashStyle getStyle( )

Determines the style of the axis grid lines.
It sets both vertical and horizontal lines independently.
DefaultValue: DashStyle::$DOT



Tags:

access:  public


Overrides ChartPen::getStyle() (Determines the style in which the pen draw lines on the Drawing.)

[ Top ]

method getZPosition [line 92]

double getZPosition( )

Returns the Z position of the Grid lines, in percent of total chart depth.



Tags:

access:  public


[ Top ]

method setCentered [line 81]

void setCentered( value $value)

Sets grid lines to display between axis labels or at label positions.



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setZPosition [line 102]

void setZPosition( value $value)

Sets the Z position of Grid lines in percentage of total chart depth.



Tags:

access:  public


Parameters:

value   $value   double

[ Top ]

method __get [line 28]

void __get( $property)



Overrides ChartPen::__get() (parent method not documented)

Parameters:

   $property  

[ Top ]

method __set [line 35]

void __set( $property, $value)



Overrides ChartPen::__set() (parent method not documented)

Parameters:

   $property  
   $value  

[ Top ]


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