diff options
Diffstat (limited to 'src/options/pie_chart.php')
-rw-r--r-- | src/options/pie_chart.php | 6 |
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; |