From e8f6c4458566b29adbeb8abe2443c5bda6c6c64b Mon Sep 17 00:00:00 2001 From: Stefan Lau Date: Sun, 23 Mar 2014 22:41:50 +0100 Subject: [PATCH] use more of the available chart space --- lib/views/miner.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/views/miner.js b/lib/views/miner.js index 9752722..a23ffae 100644 --- a/lib/views/miner.js +++ b/lib/views/miner.js @@ -53,10 +53,8 @@ module.exports = View.extend({ updateGraph: function () { var chartData = this.getChartData(); - this.graph.configure({ - min: _(chartData).pluck('y').min().value() * 0.85, - max: _(chartData).pluck('y').max().value() * 1.15 - }); + this.graph.min = _(chartData).pluck('y').min().value() * 0.99; + this.graph.max = _(chartData).pluck('y').max().value() * 1.01; this.graph.series[0].data = this.getChartData(); this.xAxis.render();