diff options
Diffstat (limited to 'src/charts/radar.php')
-rw-r--r-- | src/charts/radar.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/charts/radar.php b/src/charts/radar.php index 23bcc3a..b7bd820 100644 --- a/src/charts/radar.php +++ b/src/charts/radar.php @@ -300,7 +300,12 @@ class ezcGraphRadarChart extends ezcGraphChart { --$nr; // Determine fill color for dataset - if ( $this->options->fillLines !== false ) + if ( $data->fillLine !== false ) + { + $fillColor = clone $data->color->default; + $fillColor->alpha = (int) round( ( 255 - $fillColor->alpha ) * ( $data->fillLine / 255 ) ); + } + else if ( $this->options->fillLines !== false ) { $fillColor = clone $data->color->default; $fillColor->alpha = (int) round( ( 255 - $fillColor->alpha ) * ( $this->options->fillLines / 255 ) ); |