summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 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;
diff --git a/src/options/renderer_2d.php b/src/options/renderer_2d.php
index 7008a0a..47eef5d 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 8b0337b..36b3e44 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 9793e0a..81cbf7a 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 9d43c17..4a21f85 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