Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitPqiPieChart

Model::Chart::arbitPqiPieChart

Class arbitPqiPieChart

Pie chart class for the project quality index charts.

Pie chart class for the project quality index charts.

ezcGraphPieChart
   |
   --arbitPieChart
      |
      --arbitPqiPieChart
Author(s):
Version:   $Revision: 1236 $
License:   GPL

Method Summary

public void __construct( )
Construct pie chart
protected mixed getQualityColor( $quality )
Get quality color Get a color value for the passed quality. between 0 and 1 indicating the project quality in percent.
public void __set( $propertyName , $propertyValue )
Set quality value Set the quality value for the chart and automatically assign the correct color.

Inherited Methods

From arbitPieChart
public void arbitPieChart::__construct()
Construct pie chart
public string arbitPieChart::getMimeType()
Get chart image mime type
public mixed arbitPieChart::render()
Renders this chart Creates basic visual chart elements from the chart to be processed by the renderer. image will be returned as a string.

Methods

__construct

void __construct( )

Construct pie chart

Construct pie chart Construct pie chart and assign common setting to fit it to arbit layout settings

Redefinition of:
Method Description
arbitPieChart::__construct() Construct pie chart

getQualityColor

mixed getQualityColor( float $quality )

Get quality color Get a color value for the passed quality. between 0 and 1 indicating the project quality in percent.

Get quality color Get a color value for the passed quality. The quality should be a value between 0 and 1 indicating the project quality in percent.

Parameters:
Name Type Description
$quality float

__set

void __set( string $propertyName , mixed $propertyValue )

Set quality value Set the quality value for the chart and automatically assign the correct color.

Set quality value Set the quality value for the chart and automatically assign the correct color.

Parameters:
Name Type Description
$propertyName string
$propertyValue mixed
Documentation generated on Mon, 05 Apr 2010 14:02:12 +0200 by phpDocumentor 1.4.3