summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-24 15:00:03 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-24 15:00:03 -0400
commit0ba9fc1cb354a875d921cce539c64d0915abe63c (patch)
tree493ff947d6024a375016868d9cade9bf27ab6078
parent5684dd711aedf8dca5e4a522755540520c4c9d08 (diff)
downloadphoronix-test-suite-upstream-0ba9fc1cb354a875d921cce539c64d0915abe63c.tar.gz
phoronix-test-suite-upstream-0ba9fc1cb354a875d921cce539c64d0915abe63c.tar.xz
phoronix-test-suite-upstream-0ba9fc1cb354a875d921cce539c64d0915abe63c.zip
Hook in proportions and versions to graphs.
-rw-r--r--pts-core/functions/pts-functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php
index a87a0c4..bf05252 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -214,6 +214,8 @@ function pts_save_result($save_to = null, $save_results = null, $directory = nul
$t = new pts_BarGraph($results_name[$i], $results_attributes[$i], $results_scale[$i]);
$t->loadGraphIdentifiers($results_identifiers[$i]);
$t->loadGraphValues($results_values[$i], "#1");
+ $t->loadGraphProportion($results_proportion[$i]);
+ $t->loadGraphVersion(PTS_VERSION);
$t->save_graph($save_to_dir . "/result-graphs/" . ($i + 1) . ".png");
$t->renderGraph();
}