|
Umfragen
|
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 | |
Definition at line 459 of file chart.class.php.
| __construct | ( | $data | ) |
initialises the chart and it's data
| array | $data | data 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.
| display | ( | ) |
Implements iChart.
Definition at line 515 of file chart.class.php.