Skip to content

Commit

Permalink
Merge pull request p2pool#271 from drazisil/patch-1
Browse files Browse the repository at this point in the history
Fixes to web-static, missing labels
  • Loading branch information
forrestv committed Sep 8, 2015
2 parents aabf60f + 24a03b8 commit 548bcc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-static/graphs.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,13 @@ <h2>Memory Usage</h2>
plot(d3.select('#local_shares'), 'H/s', 'H', data_to_lines(data), true);
});
plot_later(d3.select("#payout"), currency_info.symbol, null, [
{"url": "../web/graph_data/current_payout/last_" + lowerperiod, "color": "#0000FF"}
{"url": "../web/graph_data/current_payout/last_" + lowerperiod, "color": "#0000FF", "label": "Current"}
]);
d3.json("../web/graph_data/pool_rates/last_" + lowerperiod, function(data) {
plot(d3.select('#pool'), 'H/s', 'H', data_to_lines(data), true);
});
d3.json("../web/graph_data/peers/last_" + lowerperiod, function(data) {
plot(d3.select('#peers'), '', null, data_to_lines(data, function(line){ return line.label == "incoming" }), true);
plot(d3.select('#peers'), 'Total', null, data_to_lines(data, function(line){ return line.label == "incoming" }), true);
});

d3.json("../web/graph_data/miner_hash_rates/last_" + lowerperiod, function(data) {
Expand Down

0 comments on commit 548bcc3

Please sign in to comment.