diff --git a/flash/open-flash-chart.swf b/flash/open-flash-chart.swf deleted file mode 100644 index 3a01e52ae..000000000 Binary files a/flash/open-flash-chart.swf and /dev/null differ diff --git a/libraries/chart.lib.php b/libraries/chart.lib.php index a8e2577f7..f4d5cdd51 100644 --- a/libraries/chart.lib.php +++ b/libraries/chart.lib.php @@ -3,8 +3,6 @@ define('ERR_NO_GD', 0); define('ERR_UNKNOWN_FORMAT', 1); -require_once './libraries/chart/pma_ofc_pie.php'; - require_once './libraries/chart/pma_pchart_pie.php'; require_once './libraries/chart/pma_pchart_single_bar.php'; require_once './libraries/chart/pma_pchart_multi_bar.php'; diff --git a/libraries/chart/pma_ofc_chart.php b/libraries/chart/pma_ofc_chart.php deleted file mode 100644 index eb75e7126..000000000 --- a/libraries/chart/pma_ofc_chart.php +++ /dev/null @@ -1,89 +0,0 @@ -'; - $out[] = 'function '.$data_func_name.'()'; - $out[] = '{'; - $out[] = "return '".str_replace("\n", '', $data)."';"; - $out[] = '}'; - $out[] = ''; - - $out[] = 'width.'" height="'.$this->height.'" id="'.$obj_id.'" align="middle">'; - $out[] = ''; - $out[] = ''; - $out[] = ''; - $out[] = ''; - $out[] = ''; - $out[] = ''; - - return implode("\n", $out); - } - - function toString() - { - return $this->get_embed_code($this->chart->toPrettyString()); - } -} - -?> \ No newline at end of file diff --git a/libraries/chart/pma_ofc_pie.php b/libraries/chart/pma_ofc_pie.php deleted file mode 100644 index 2b5ea7e90..000000000 --- a/libraries/chart/pma_ofc_pie.php +++ /dev/null @@ -1,46 +0,0 @@ -set_style($this->titleStyle); - - // create the main chart element - pie - $pie = new pie(); - $pie->set_alpha(1); - $pie->set_start_angle(35); - $pie->add_animation(new pie_fade()); - $pie->add_animation(new pie_bounce(10)); - $pie->set_tooltip('#val# '._('of').' #total#
#percent# '._('of').' 100%'); - $pie->set_colours($this->colors); - - $values = array(); - foreach($data as $key => $value) { - $values[] = new pie_value($value, $key); - } - - $pie->set_values($values); - $pie->gradient_fill(); - - // create chart - $this->chart = new open_flash_chart(); - $this->chart->x_axis = null; - $this->chart->set_bg_colour($this->bgColor); - $this->chart->set_title($title); - $this->chart->add_element($pie); - } -} - -?>