summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:21:27 +0100
committerKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:21:27 +0100
commit323edff5f22cb8d116d0eb58083f9733e1f53126 (patch)
tree0b94afef7970cc061d4a9f62389d551e8c99036b /src
parent9cc895f7c21a380f0af248dfa5e4aa103b6c6046 (diff)
downloadzetacomponents-graph-323edff5f22cb8d116d0eb58083f9733e1f53126.zip
zetacomponents-graph-323edff5f22cb8d116d0eb58083f9733e1f53126.tar.gz
Revert "Use non-local dependent formatting options everywhere"
This reverts commit 5273fe7e6d19a4bdad3d987540171ff3a55fe053.
Diffstat (limited to 'src')
-rw-r--r--src/options/pie_chart.php6
-rw-r--r--src/options/renderer_2d.php2
-rw-r--r--src/options/renderer_3d.php2
-rw-r--r--src/renderer/2d.php2
-rw-r--r--src/renderer/3d.php2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/options/pie_chart.php b/src/options/pie_chart.php
index c255313..e8a6b8d 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;
diff --git a/src/options/renderer_2d.php b/src/options/renderer_2d.php
index 47eef5d..7008a0a 100644
--- a/src/options/renderer_2d.php
+++ b/src/options/renderer_2d.php
@@ -30,7 +30,7 @@
* $graph = new ezcGraphPieChart();
* $graph->palette = new ezcGraphPaletteBlack();
* $graph->title = 'Access statistics';
- * $graph->options->label = '%2$d (%3$.1F%%)';
+ * $graph->options->label = '%2$d (%3$.1f%%)';
*
* $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
* 'Mozilla' => 19113,
diff --git a/src/options/renderer_3d.php b/src/options/renderer_3d.php
index 36b3e44..8b0337b 100644
--- a/src/options/renderer_3d.php
+++ b/src/options/renderer_3d.php
@@ -34,7 +34,7 @@
* $graph = new ezcGraphPieChart();
* $graph->palette = new ezcGraphPaletteEzRed();
* $graph->title = 'Access statistics';
- * $graph->options->label = '%2$d (%3$.1F%%)';
+ * $graph->options->label = '%2$d (%3$.1f%%)';
*
* $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
* 'Mozilla' => 19113,
diff --git a/src/renderer/2d.php b/src/renderer/2d.php
index 81cbf7a..9793e0a 100644
--- a/src/renderer/2d.php
+++ b/src/renderer/2d.php
@@ -34,7 +34,7 @@
* $graph = new ezcGraphPieChart();
* $graph->palette = new ezcGraphPaletteBlack();
* $graph->title = 'Access statistics';
- * $graph->options->label = '%2$d (%3$.1F%%)';
+ * $graph->options->label = '%2$d (%3$.1f%%)';
*
* $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
* 'Mozilla' => 19113,
diff --git a/src/renderer/3d.php b/src/renderer/3d.php
index 4a21f85..9d43c17 100644
--- a/src/renderer/3d.php
+++ b/src/renderer/3d.php
@@ -34,7 +34,7 @@
* $graph = new ezcGraphPieChart();
* $graph->palette = new ezcGraphPaletteEzRed();
* $graph->title = 'Access statistics';
- * $graph->options->label = '%2$d (%3$.1F%%)';
+ * $graph->options->label = '%2$d (%3$.1f%%)';
*
* $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
* 'Mozilla' => 19113,
OpenPOWER on IntegriCloud