Path

ez components / documentation / api reference / latest / graph


eZ Components latest

Graph: ezcGraphRadarChartOptions

[ Tutorial ] [ Gallery ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcGraphRadarChartOptions

Class containing the basic options for radar charts. [source]
 1.    $wikidata include 'tutorial_wikipedia_data.php';
 2.  
 3.    $graph new ezcGraphRadarChart();
 4.    $graph->title 'Wikipedia articles';
 5.  
 6.    $graph->options->fillLines 220;
 7.  
 8.    // Add data
 9.    foreach $wikidata as $language => $data )
10.    {
11.        $graph->data[$languagenew ezcGraphArrayDataSet$data );
12.        $graph->data[$language][reset$data );
13.    }
14.  
15.    $graph->render400150'tutorial_radar_chart.svg' );

Parents

ezcBaseOptions
   |
   --ezcGraphChartOptions
      |
      --ezcGraphRadarChartOptions

Properties

mixed read/write  $fillLines
Status wheather the space between line and axis should get filled.
  • FALSE to not fill the space at all.
  • (int) Opacity used to fill up the space with the lines color.
ezcGraphFontOptions read/write  $highlightFont
Font configuration for highlight tests
bool read/write  $highlightRadars
If true, it adds lines to highlight the values position on the axis.
int read/write  $highlightSize
Size of highlight blocks
float read/write  $lineThickness
Theickness of chart lines
int read/write  $symbolSize
Size of symbols in line chart.

Inherited Member Variables

From ezcBaseOptions:
protected  ezcBaseOptions::$properties

Method Summary

public void __set( $propertyName, $propertyValue )
Set an option value

Inherited Methods

From ezcBaseOptions :
public ezcBaseOptions ezcBaseOptions::__construct()
Construct a new options object.
public void ezcBaseOptions::merge()
Merge an array into the actual options object.
public bool ezcBaseOptions::offsetExists()
Returns if an option exists.
public mixed ezcBaseOptions::offsetGet()
Returns an option value.
public void ezcBaseOptions::offsetSet()
Set an option.
public void ezcBaseOptions::offsetUnset()
Unset an option.

Methods

__set

void __set( string $propertyName, mixed $propertyValue )
Set an option value

Parameters

Name Type Description
$propertyName string  
$propertyValue mixed  

Throws

ClassDescription
ezcBasePropertyNotFoundException If a property is not defined in this class

Last updated: Mon, 21 Dec 2009