diff options
Diffstat (limited to 'libs/open-flash-chart/php-ofc-library')
11 files changed, 145 insertions, 145 deletions
diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar.php b/libs/open-flash-chart/php-ofc-library/ofc_bar.php index 6ddda42749..728420c503 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_value { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar_3d.php b/libs/open-flash-chart/php-ofc-library/ofc_bar_3d.php index 47552184ce..9b7f697615 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar_3d.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar_3d.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_3d_value { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar_filled.php b/libs/open-flash-chart/php-ofc-library/ofc_bar_filled.php index 837c1fc458..2439bd2159 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar_filled.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar_filled.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_filled_value extends bar_value { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar_glass.php b/libs/open-flash-chart/php-ofc-library/ofc_bar_glass.php index e833501519..bc330d3c74 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar_glass.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar_glass.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_on_show { @@ -128,4 +128,4 @@ class bar_3d extends bar_base $this->type = "bar_3d"; parent::bar_base(); } -}
\ No newline at end of file +} diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar_sketch.php b/libs/open-flash-chart/php-ofc-library/ofc_bar_sketch.php index ce1bcccf8a..2bad3a3b75 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar_sketch.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar_sketch.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_sketch extends bar_base { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_bar_stack.php b/libs/open-flash-chart/php-ofc-library/ofc_bar_stack.php index 3d9f8d9f0c..5977409982 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_bar_stack.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_bar_stack.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class bar_stack extends bar_base { @@ -52,4 +52,4 @@ class bar_stack_key $tmp = 'font-size'; $this->$tmp = $font_size; } -}
\ No newline at end of file +} diff --git a/libs/open-flash-chart/php-ofc-library/ofc_candle.php b/libs/open-flash-chart/php-ofc-library/ofc_candle.php index 21ad67f8d3..7ed047f843 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_candle.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_candle.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class candle_value { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_tooltip.php b/libs/open-flash-chart/php-ofc-library/ofc_tooltip.php index 3104ee33b9..21f8aa2ecd 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_tooltip.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_tooltip.php @@ -1,6 +1,6 @@ <?php -include_once 'ofc_bar_base.php'; +include_once dirname(__FILE__) . '/ofc_bar_base.php'; class tooltip { diff --git a/libs/open-flash-chart/php-ofc-library/ofc_y_axis_label.php b/libs/open-flash-chart/php-ofc-library/ofc_y_axis_label.php index bded9b84e5..f2616f537e 100644 --- a/libs/open-flash-chart/php-ofc-library/ofc_y_axis_label.php +++ b/libs/open-flash-chart/php-ofc-library/ofc_y_axis_label.php @@ -1,38 +1,38 @@ -<?php
-
-/**
- * y_axis_label see y_axis_labels
- */
-class y_axis_label
-{
- function y_axis_label( $y, $text)
- {
- $this->y = $y;
- $this->set_text( $text );
- }
-
- function set_text( $text )
- {
- $this->text = $text;
- }
-
- function set_colour( $colour )
- {
- $this->colour = $colour;
- }
-
- function set_size( $size )
- {
- $this->size = $size;
- }
-
- function set_rotate( $rotate )
- {
- $this->rotate = $rotate;
- }
-
- function set_vertical()
- {
- $this->rotate = "vertical";
- }
+<?php + +/** + * y_axis_label see y_axis_labels + */ +class y_axis_label +{ + function y_axis_label( $y, $text) + { + $this->y = $y; + $this->set_text( $text ); + } + + function set_text( $text ) + { + $this->text = $text; + } + + function set_colour( $colour ) + { + $this->colour = $colour; + } + + function set_size( $size ) + { + $this->size = $size; + } + + function set_rotate( $rotate ) + { + $this->rotate = $rotate; + } + + function set_vertical() + { + $this->rotate = "vertical"; + } }
\ No newline at end of file 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 diff --git a/libs/open-flash-chart/php-ofc-library/open-flash-chart.php b/libs/open-flash-chart/php-ofc-library/open-flash-chart.php index b017097d00..9ba0db6d59 100644 --- a/libs/open-flash-chart/php-ofc-library/open-flash-chart.php +++ b/libs/open-flash-chart/php-ofc-library/open-flash-chart.php @@ -10,55 +10,55 @@ // if (! function_exists('json_encode')) { - include_once 'JSON.php'; + include_once dirname(__FILE__) . '/JSON.php'; } -include_once 'json_format.php'; +include_once dirname(__FILE__) . '/json_format.php'; // ofc classes -include_once 'ofc_title.php'; -include_once 'ofc_y_axis_base.php'; -include_once 'ofc_y_axis.php'; -include_once 'ofc_y_axis_right.php'; -include_once 'ofc_y_axis_labels.php'; -include_once 'ofc_y_axis_label.php'; -include_once 'ofc_x_axis.php'; +include_once dirname(__FILE__) . '/ofc_title.php'; +include_once dirname(__FILE__) . '/ofc_y_axis_base.php'; +include_once dirname(__FILE__) . '/ofc_y_axis.php'; +include_once dirname(__FILE__) . '/ofc_y_axis_right.php'; +include_once dirname(__FILE__) . '/ofc_y_axis_labels.php'; +include_once dirname(__FILE__) . '/ofc_y_axis_label.php'; +include_once dirname(__FILE__) . '/ofc_x_axis.php'; -include_once 'ofc_pie.php'; -//include_once 'ofc_bar.php'; -include_once 'ofc_bar_glass.php'; -include_once 'ofc_bar_filled.php'; -include_once 'ofc_bar_stack.php'; -//include_once 'ofc_bar_3d.php'; -include_once 'ofc_hbar.php'; -include_once 'ofc_line_base.php'; -include_once 'ofc_line.php'; -//include_once 'ofc_line_dot.php'; -//include_once 'ofc_line_hollow.php'; -include_once 'ofc_candle.php'; -include_once 'ofc_area_base.php'; -include_once 'ofc_tags.php'; -include_once 'ofc_arrow.php'; -//include_once 'ofc_area_hollow.php'; -//include_once 'ofc_area_line.php'; +include_once dirname(__FILE__) . '/ofc_pie.php'; +//include_once dirname(__FILE__) . '/ofc_bar.php'; +include_once dirname(__FILE__) . '/ofc_bar_glass.php'; +include_once dirname(__FILE__) . '/ofc_bar_filled.php'; +include_once dirname(__FILE__) . '/ofc_bar_stack.php'; +//include_once dirname(__FILE__) . '/ofc_bar_3d.php'; +include_once dirname(__FILE__) . '/ofc_hbar.php'; +include_once dirname(__FILE__) . '/ofc_line_base.php'; +include_once dirname(__FILE__) . '/ofc_line.php'; +//include_once dirname(__FILE__) . '/ofc_line_dot.php'; +//include_once dirname(__FILE__) . '/ofc_line_hollow.php'; +include_once dirname(__FILE__) . '/ofc_candle.php'; +include_once dirname(__FILE__) . '/ofc_area_base.php'; +include_once dirname(__FILE__) . '/ofc_tags.php'; +include_once dirname(__FILE__) . '/ofc_arrow.php'; +//include_once dirname(__FILE__) . '/ofc_area_hollow.php'; +//include_once dirname(__FILE__) . '/ofc_area_line.php'; -include_once 'ofc_x_legend.php'; -include_once 'ofc_y_legend.php'; -include_once 'ofc_bar_sketch.php'; -include_once 'ofc_scatter.php'; -include_once 'ofc_scatter_line.php'; -include_once 'ofc_x_axis_labels.php'; -include_once 'ofc_x_axis_label.php'; -include_once 'ofc_tooltip.php'; -include_once 'ofc_shape.php'; -include_once 'ofc_radar_axis.php'; -include_once 'ofc_radar_axis_labels.php'; -include_once 'ofc_radar_spoke_labels.php'; -include_once 'ofc_line_style.php'; +include_once dirname(__FILE__) . '/ofc_x_legend.php'; +include_once dirname(__FILE__) . '/ofc_y_legend.php'; +include_once dirname(__FILE__) . '/ofc_bar_sketch.php'; +include_once dirname(__FILE__) . '/ofc_scatter.php'; +include_once dirname(__FILE__) . '/ofc_scatter_line.php'; +include_once dirname(__FILE__) . '/ofc_x_axis_labels.php'; +include_once dirname(__FILE__) . '/ofc_x_axis_label.php'; +include_once dirname(__FILE__) . '/ofc_tooltip.php'; +include_once dirname(__FILE__) . '/ofc_shape.php'; +include_once dirname(__FILE__) . '/ofc_radar_axis.php'; +include_once dirname(__FILE__) . '/ofc_radar_axis_labels.php'; +include_once dirname(__FILE__) . '/ofc_radar_spoke_labels.php'; +include_once dirname(__FILE__) . '/ofc_line_style.php'; -include_once 'dot_base.php'; -include_once 'ofc_menu.php'; +include_once dirname(__FILE__) . '/dot_base.php'; +include_once dirname(__FILE__) . '/ofc_menu.php'; class open_flash_chart { @@ -175,4 +175,4 @@ class open_flash_chart // // there is no PHP end tag so we don't mess the headers up! -//
\ No newline at end of file +// |