Inherits SMWAggregatablePrinter.
Public Member Functions | |
| getName () | |
| Get a human readable label for this printer. | |
| getParameters () | |
Protected Member Functions | |
| handleParameters (array $params, $outputmode) | |
| (non-PHPdoc) | |
| loadJavascriptAndCSS () | |
| addResources () | |
| Add the JS and CSS resources needed by this chart. | |
| getFormatOutput (array $data) | |
| Get the JS and HTML that needs to be added to the output to create the chart. | |
Protected Attributes | |
| $m_width | |
| $m_height | |
| $m_charttitle | |
Static Protected Attributes | |
| static | $m_piechartnum = 1 |
Definition at line 14 of file SRF_jqPlotPie.php.
| SRFjqPlotPie::handleParameters | ( | array $ | params, | |
| $ | outputmode | |||
| ) | [protected] |
(non-PHPdoc)
Reimplemented from SMWResultPrinter.
Definition at line 26 of file SRF_jqPlotPie.php.
| SRFjqPlotPie::getName | ( | ) |
Get a human readable label for this printer.
The default is to return just the format identifier. Concrete implementations may refer to messages here. The format name is normally not used in wiki text but only in forms etc. hence the user language should be used when retrieving messages.
Reimplemented from SMWResultPrinter.
Definition at line 34 of file SRF_jqPlotPie.php.
| SRFjqPlotPie::loadJavascriptAndCSS | ( | ) | [protected] |
| SRFjqPlotPie::addResources | ( | ) | [protected] |
Add the JS and CSS resources needed by this chart.
Reimplemented from SMWAggregatablePrinter.
Definition at line 49 of file SRF_jqPlotPie.php.
References $srfgJQPlotIncluded, $srfgScriptPath, and loadJavascriptAndCSS().
| SRFjqPlotPie::getFormatOutput | ( | array $ | data | ) | [protected] |
Get the JS and HTML that needs to be added to the output to create the chart.
| array | $data label => value |
Reimplemented from SMWAggregatablePrinter.
Definition at line 84 of file SRF_jqPlotPie.php.
References END.
| SRFjqPlotPie::getParameters | ( | ) |
Reimplemented from SMWAggregatablePrinter.
Definition at line 137 of file SRF_jqPlotPie.php.
References SMWResultPrinter::$params.
SRFjqPlotPie::$m_piechartnum = 1 [static, protected] |
Definition at line 16 of file SRF_jqPlotPie.php.
SRFjqPlotPie::$m_width [protected] |
Definition at line 18 of file SRF_jqPlotPie.php.
SRFjqPlotPie::$m_height [protected] |
Definition at line 19 of file SRF_jqPlotPie.php.
SRFjqPlotPie::$m_charttitle [protected] |
Definition at line 20 of file SRF_jqPlotPie.php.
1.5.6