Path

ez components / documentation / api reference / 2007.1.1 / graph


eZ Components 2007.1.1

Graph: ezcGraphPalette

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcGraphPalette

Abstract class to contain pallet definitions [source]

Descendents

Child Class Description
ezcGraphPaletteEzGreen Light green color pallet for ezcGraph based on green eZ colors
ezcGraphPaletteEz Color pallet for ezcGraph based on eZ color scheme
ezcGraphPaletteEzBlue Light blue color pallet for ezcGraph based on blue eZ colors
ezcGraphPaletteTango Light color pallet for ezcGraph based on Tango style guidelines at http://tango-project.org/Generic_Icon_Theme_Guidelines
ezcGraphPaletteEzRed Light red color pallet for ezcGraph based on red eZ colors
ezcGraphPaletteBlack Dark color pallet for ezcGraph based on Tango style guidelines at http://tango-project.org/Generic_Icon_Theme_Guidelines

Member Variables

protected ezcGraphColor $axisColor
Axiscolor
protected ezcGraphColor $chartBackground
Backgroundcolor
protected ezcGraphColor $chartBorderColor
Bordercolor the chart
protected integer $chartBorderWidth = 0
Borderwidth for the chart
protected integer $colorIndex = -1
Indicates which color should be used for the next dataset
protected array $dataSetColor
Array with colors for datasets
protected array $dataSetSymbol
Array with symbols for datasets
protected ezcGraphColor $elementBackground
Backgroundcolor for elements
protected ezcGraphColor $elementBorderColor
Bordercolor for elements
protected integer $elementBorderWidth = 0
Borderwidth for elements
protected ezcGraphColor $fontColor
Fontcolor
protected string $fontName
Name of font to use
protected ezcGraphColor $majorGridColor
Color of grid lines
protected integer $margin = 0
Margin of elements
protected ezcGraphColor $minorGridColor
Color of minor grid lines
protected integer $padding = 1
Padding in elements
protected integer $symbolIndex = -1
Indicates which symbol should be used for the nect dataset

Method Summary

protected ezcGraphColor checkColor( &$color, $color )
Ensure value to be a color

Methods

checkColor

ezcGraphColor checkColor( &$color, mixed $color )
Ensure value to be a color

Parameters

Name Type Description
$color mixed Color to transform into a ezcGraphColor object
&$color  

Last updated: Wed, 28 Nov 2007