summaryrefslogtreecommitdiffstats
path: root/pts-core
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-18 18:23:38 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-18 18:23:38 -0500
commitebf77735315fbda88c27fbe4400d4ee368995cd3 (patch)
treefa83a4884d2c761dc770438e03c9302c43e5f5ad /pts-core
parent62f9537a4eed59f4f870f421d9cea046b6ecec1f (diff)
downloadphoronix-test-suite-upstream-ebf77735315fbda88c27fbe4400d4ee368995cd3.tar.gz
phoronix-test-suite-upstream-ebf77735315fbda88c27fbe4400d4ee368995cd3.tar.xz
phoronix-test-suite-upstream-ebf77735315fbda88c27fbe4400d4ee368995cd3.zip
pts_Graph: Tweak formatting of basic graph attributes
Diffstat (limited to 'pts-core')
-rw-r--r--pts-core/objects/pts_Graph/pts_Graph.php6
1 files changed, 3 insertions, 3 deletions
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)
{