Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index b1b54e0..9c116b1 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,5 +1,9 @@
PHORONIX TEST SUITE CHANGE-LOG
+Phoronix Test Suite (Git)
+
+- pts_Graph: Fix rounding issue on pts tables that are very wide
+
Phoronix Test Suite 4.0 Milestone 1
12 April 2012
diff --git a/pts-core/objects/pts_Graph/pts_Table.php b/pts-core/objects/pts_Graph/pts_Table.php
index ab7bdd1..35cdd65 100644
--- a/pts-core/objects/pts_Graph/pts_Table.php
+++ b/pts-core/objects/pts_Graph/pts_Table.php
@@ -194,7 +194,7 @@ class pts_Table extends pts_Graph
}
// Background horizontal
- $this->svg_dom->draw_svg_line(($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $table_proper_height, self::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => $table_line_height . ',' . $table_line_height));
+ $this->svg_dom->draw_svg_line(round($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $table_proper_height, self::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => $table_line_height . ',' . $table_line_height));
// Draw the borders
$this->svg_dom->draw_svg_line($this->i['left_start'], $v, $table_columns_end + ($table_columns_end < $this->i['graph_width'] ? $table_item_width : 0), $v, self::$c['color']['border'], $table_height + $identifier_height, array('stroke-dasharray' => '1,' . ($table_item_width - 1)));
@@ -393,7 +393,7 @@ class pts_Table extends pts_Graph
}
//$this->svg_dom->draw_svg_line(($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $this->i['graph_height'], self::$c['color']['border'], $table_columns_end, array('stroke-dasharray' => '1,' . ($table_line_height - 1)));
- $this->svg_dom->draw_svg_line(($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $table_proper_height, self::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => 1 . ',' . ($table_line_height - 1)));
+ $this->svg_dom->draw_svg_line(round($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $table_proper_height, self::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => 1 . ',' . ($table_line_height - 1)));
// Bottom part
<
Copyright © 2013 by Phoronix Media