34 $this->hidden = (bool) $a_value;
54 $this->label = (
string) $a_value;
98 public function setFill($a_value, $a_color = null)
100 $this->fill = $a_value;
102 $this->fill_color = $a_color;
113 return array(
"fill"=>$this->fill,
"color"=>$this->fill_color);
138 foreach ($this->
getData() as $point) {
147 if (
$fill[
"color"]) {
setFill($a_value, $a_color=null)
Set fill.
parseGlobalOptions(stdClass $a_options, ilChart $a_chart)
Convert (global) properties to flot config.
Abstract Chart generator base class.
addPoint($a_x, $a_y=null)
Set data.
setLabel($a_value)
Set label.
parseData(array &$a_data)
Convert data to flot config.
static isValidColor($a_value)
Validate html color code.
setHidden($a_value)
Set hidden.
Create styles array
The data for the language used.
getTypeString()
Get series type.
static renderColor($a_value, $a_opacity=1)
Render html color code.
parseDataOptions(array &$a_options)
Convert data options to flot config.
Abstract chart data series base class.
if(!isset($_REQUEST['ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options