Curveclass Curve
Located in /mains/Curve.php (line 46)
mixed
$color
= NULL (line 87)
Curve color
color of the curve, string or array of string if the curve have many colors.
string
$id
(line 55)
The Curve id.
array
$labels
(line 62)
Abscisse data.
mixed
$legend
(line 98)
Curve legend.
legend of the curve, string or array of string if the curve have many legends.
string
$style
= NULL (line 76)
Curve style
array
$values
(line 69)
Ordinate data.
string
$visual
= 'polyline' (line 108)
Curve visual.
name of the visual plugin to use to render the curve.
mixed
$_curveFilters
= array() (line 115)
Curve filters
array
$_curveMarker
= array() (line 122)
Curve marker
__construct
Initialize the object with the params.
the key of the array params are:
setColor
set the curve color, if $color is string (when the curve use only on color) the color is add to the style attributes (stroke and fill)
setFilter
Add filters to the curve calling the according filter plugin.
Set the curve Markers
Add a marker to the curve calling the according marker plugin.
marker params:
__get
magic method to the properties who needs specials actions (like filter, marker or color).
__set
magic method to the properties who needs specials action (filters, color or marker)
Documentation generated on Tue, 23 Oct 2007 11:31:54 +0200 by phpDocumentor 1.4.0