From ebf77735315fbda88c27fbe4400d4ee368995cd3 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Thu, 18 Dec 2008 18:23:38 -0500 Subject: pts_Graph: Tweak formatting of basic graph attributes --- pts-core/objects/pts_Graph/pts_Graph.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pts-core/objects/pts_Graph') diff --git a/pts-core/objects/pts_Graph/pts_Graph.php b/pts-core/objects/pts_Graph/pts_Graph.php index de43841..c206ccb 100644 --- a/pts-core/objects/pts_Graph/pts_Graph.php +++ b/pts-core/objects/pts_Graph/pts_Graph.php @@ -31,7 +31,7 @@ abstract class pts_Graph var $graph_left_start = 20; // Distance in px to start graph from left side var $graph_left_end_opp = 10; // Distance in px to end graph from right side - var $graph_top_start = 60; // Distance in px to start graph from top side + var $graph_top_start = 62; // Distance in px to start graph from top side var $graph_top_end_opp = 22; // Distance in px to end graph from bottom side // Colors @@ -418,8 +418,8 @@ abstract class pts_Graph // Text $this->graph_image->write_text_right($this->graph_version, $this->graph_font, 7, $this->graph_color_body_light, $this->graph_left_end, $this->graph_top_start - 9, $this->graph_left_end, $this->graph_top_start - 9); - $this->graph_image->write_text_center($this->graph_title, $this->graph_font, $this->graph_font_size_heading, $this->graph_color_main_headers, $this->graph_left_start, 4, $this->graph_left_end, 4); - $this->graph_image->write_text_center($this->graph_sub_title, $this->graph_font, $this->graph_font_size_sub_heading, $this->graph_color_main_headers, $this->graph_left_start, 26, $this->graph_left_end, 26, false, true); + $this->graph_image->write_text_center($this->graph_title, $this->graph_font, $this->graph_font_size_heading, $this->graph_color_main_headers, $this->graph_left_start, 3, $this->graph_left_end, 4); + $this->graph_image->write_text_center($this->graph_sub_title, $this->graph_font, $this->graph_font_size_sub_heading, $this->graph_color_main_headers, $this->graph_left_start, 30, $this->graph_left_end, 26, false, true); if(!empty($this->graph_y_title) && !$this->graph_y_title_hide) { -- cgit