summaryrefslogtreecommitdiffstats
path: root/src/options/pie_chart.php
diff options
context:
space:
mode:
authorKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:01:31 +0100
committerKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:01:31 +0100
commit5273fe7e6d19a4bdad3d987540171ff3a55fe053 (patch)
tree8216fe63718b989046685d4be60ae856cdfa47d3 /src/options/pie_chart.php
parent1211da284912d3f01fcf199d7c2fc24e207d41f3 (diff)
downloadzetacomponents-graph-5273fe7e6d19a4bdad3d987540171ff3a55fe053.zip
zetacomponents-graph-5273fe7e6d19a4bdad3d987540171ff3a55fe053.tar.gz
Use non-local dependent formatting options everywhere
Diffstat (limited to 'src/options/pie_chart.php')
-rw-r--r--src/options/pie_chart.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options/pie_chart.php b/src/options/pie_chart.php
index e8a6b8d..c255313 100644
--- a/src/options/pie_chart.php
+++ b/src/options/pie_chart.php
@@ -40,7 +40,7 @@
* $graph->title = 'Access statistics';
* $graph->legend = false;
*
- * $graph->options->label = '%1$s (%3$.1f)';
+ * $graph->options->label = '%1$s (%3$.1F)';
* $graph->options->percentThreshold = .05;
*
* $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
@@ -59,7 +59,7 @@
* String used to label pies
* %1$s Name of pie
* %2$d Value of pie
- * %3$.1f Percentage
+ * %3$.1F Percentage
* @property callback $labelCallback
* Callback function to format pie chart labels.
* Function will receive 3 parameters:
@@ -89,7 +89,7 @@ class ezcGraphPieChartOptions extends ezcGraphChartOptions
*/
public function __construct( array $options = array() )
{
- $this->properties['label'] = '%1$s: %2$d (%3$.1f%%)';
+ $this->properties['label'] = '%1$s: %2$d (%3$.1F%%)';
$this->properties['labelCallback'] = null;
$this->properties['sum'] = false;
OpenPOWER on IntegriCloud