diff options
Diffstat (limited to 'libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php')
-rw-r--r-- | libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php b/libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php index 75f777e532..c0708ab219 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_y_axis_labels.php @@ -1,57 +1,57 @@ -<?php
-
-class y_axis_labels
-{
- function y_axis_labels(){}
-
- /**
- * @param $steps which labels are generated
- */
- function set_steps( $steps )
- {
- $this->steps = $steps;
- }
-
- /**
- *
- * @param $labels as an array of [y_axis_label or string]
- */
- function set_labels( $labels )
- {
- $this->labels = $labels;
- }
-
- function set_colour( $colour )
- {
- $this->colour = $colour;
- }
-
- /**
- * font size in pixels
- */
- function set_size( $size )
- {
- $this->size = $size;
- }
-
- /**
- * rotate labels
- */
- function set_vertical()
- {
- $this->rotate = 270;
- }
-
- function rotate( $angle )
- {
- $this->rotate = $angle;
- }
-
- /**
- * @param $text default text that all labels inherit
- */
- function set_text( $text )
- {
- $this->text = $text;
- }
+<?php + +class y_axis_labels +{ + function y_axis_labels(){} + + /** + * @param $steps which labels are generated + */ + function set_steps( $steps ) + { + $this->steps = $steps; + } + + /** + * + * @param $labels as an array of [y_axis_label or string] + */ + function set_labels( $labels ) + { + $this->labels = $labels; + } + + function set_colour( $colour ) + { + $this->colour = $colour; + } + + /** + * font size in pixels + */ + function set_size( $size ) + { + $this->size = $size; + } + + /** + * rotate labels + */ + function set_vertical() + { + $this->rotate = 270; + } + + function rotate( $angle ) + { + $this->rotate = $angle; + } + + /** + * @param $text default text that all labels inherit + */ + function set_text( $text ) + { + $this->text = $text; + } }
\ No newline at end of file |