summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/postrunner/ChartView.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb
index c82b41e..ccf4a7d 100644
--- a/lib/postrunner/ChartView.rb
+++ b/lib/postrunner/ChartView.rb
@@ -327,7 +327,7 @@ EOT
" inverseTransform: function (v) { return -v; } }"
else
# Set the minimum slightly below the lowest found value.
- s << ", yaxis: { min: #{0.9 * min_value} }"
+ s << ", yaxis: { min: #{0.9 * min_value} }" if min_value > 0.0
end
s << "});\n"
s << lap_mark_labels(chart_id, start_time)