Skip to content

Commit

Permalink
use more of the available chart space
Browse files Browse the repository at this point in the history
  • Loading branch information
selaux committed Mar 23, 2014
1 parent cb94e1f commit e8f6c44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/views/miner.js
Expand Up @@ -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();
Expand Down

0 comments on commit e8f6c44

Please sign in to comment.