Umfragen
barChart Class Reference
Inheritance diagram for barChart:
chart iChart

Public Member Functions

 __construct ($data)
 initialises the chart and it's data
 display ()
- Public Member Functions inherited from chart
 __construct ()
 test_many_colors ()
 set_config ($name, $value)
 get_config ($name)
 __get ($name)
 __set ($name, $value)
 display_generic ($method)
 display function generic part.
- Public Member Functions inherited from iChart
 get_config ($name)
 set_config ($value, $value)

Additional Inherited Members

- Protected Attributes inherited from chart
 $data = array( )
 $data_js = ""
 $colors
 $config

Detailed Description

Definition at line 459 of file chart.class.php.

Constructor & Destructor Documentation

__construct (   $data)

initialises the chart and it's data

Parameters
array$datadata is like this: data = array( "labels" => array("Label1","label2",...) , "datasets" => array( array(1,2,3) , array(4,5,6) , ... ) where "Label2" would be the label for the second dataset (4,5,6)

Definition at line 470 of file chart.class.php.

Member Function Documentation

display ( )

Implements iChart.

Definition at line 515 of file chart.class.php.


The documentation for this class was generated from the following file: