29         parent::parseData($a_data);
    32         if (
$fill[
"color"] != 
"") {
    40         $spider->active = 
true;
    43         $spider->highlight->mode = 
"line";
    48         switch (count($a_chart->getLegLabels())) {
    51                 $spider->legs->legStartAngle = 10;
    55                 $spider->legs->legStartAngle = 0;
    59         $spider->legs->data = array();
    62         foreach ($a_chart->getLegLabels() as $l) {
    67             $spider->legs->data[] = 
$label;
    69             $max_str_len = max($max_str_len, strlen($l));
    73         if ($max_str_len > 60) {
    75         } elseif ($max_str_len > 30) {
    80         $spider->legs->font = $font_size . 
"px Arial";
    82         $spider->spiderSize = 0.7;
    83         $spider->lineWidth = 1;
    84         $spider->pointSize = 0;
    86         $spider->connection = 
new stdClass();
    87         $spider->connection->width = 2;
    89         $spider->legMin = 0.0000001;
    90         $spider->legMax = $a_chart->getYAxisMax();
    92         $a_options->series->spider = $spider;
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
parseData(array &$a_data)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
parseGlobalOptions(stdClass $a_options, ilChart $a_chart)
 
static renderColor(string $a_value, float $a_opacity=1)
Render html color code.