Graph: ezcGraphChartElement
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphChartElement
|
Class for basic chart elements [
source]
Parents
ezcBaseOptions
|
--ezcGraphChartElement
Descendents
Properties
|
ezcGraphColor |
read/write
|
$background
Background color of chart element. |
|
ezcGraphColor |
read/write
|
$border
Border color of chart element. |
|
int |
read/write
|
$borderWidth
Border width. |
|
ezcGraphBoundings |
read
|
$boundings
Boundings of this elements. |
|
ezcGraphFontOptions |
read/write
|
$font
Font used for this element. |
|
bool |
read
|
$fontCloned
Indicates if font configuration was already cloned for this specific element. |
|
float |
read/write
|
$landscapeTitleSize
Percentage of boundings which are used for the title with position top or bottom. |
|
int |
read/write
|
$margin
Distance between outer boundings and border of an element. |
|
int |
read/write
|
$maxTitleHeight
Maximum size of the title. |
|
int |
read/write
|
$padding
Distance between border and content of element. |
|
float |
read/write
|
$portraitTitleSize
Percentage of boundings which are used for the title with position left, right or center. |
|
int |
read/write
|
$position
Integer defining the elements position in the chart. |
|
string |
read/write
|
$title
Title of chart element. |
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
protected ezcGraphBoundings |
getTitleSize(
$boundings, [$direction = ezcGraph::HORIZONTAL] )
Returns calculated boundings based on available percentual space of given bounding box specified in the elements options and direction of the box. |
|
public abstract ezcGraphBoundings |
render(
$renderer, $boundings )
Renders this chart element |
|
public void |
setFromPalette(
$palette )
Set colors and border fro this element |
Inherited Methods
From
ezcBaseOptions :
Methods
getTitleSize
ezcGraphBoundings getTitleSize(
$boundings, [int
$direction = ezcGraph::HORIZONTAL] )
Returns calculated boundings based on available percentual space of given bounding box specified in the elements options and direction of the box.
Parameters
| Name |
Type |
Description |
$boundings |
ezcGraphBoundings |
|
$direction |
int |
|
render
Renders this chart element
This method receives and returns a part of the canvas where it can be rendered on.
Parameters
Redefined in descendants as
setFromPalette
Set colors and border fro this element
Parameters
Redefined in descendants as
Last updated: Tue, 27 May 2008