Skip to content
Snippets Groups Projects
Commit 04865450 authored by Sam Calisch's avatar Sam Calisch
Browse files

fix scale

parent f3e1fda6
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -78,8 +78,8 @@ function make_graph(div_id,json_key,axis_labels,use_khz){
}
//for linear
x.domain([0,d3.max(data, function(d) { return 1.05*d.dev_board_price; })]).nice();
y.domain([0,d3.max(data, function(d) { return 1.05*period_to_freq(d.ring_period); })]).nice();
x.domain([0,d3.max(data, function(d) { return 1.01*d.dev_board_price; })]).nice();
y.domain([0,d3.max(data, function(d) { return 1.01*period_to_freq(d.ring_period); })]).nice();
//for log
//x.domain(d3.extent(data, function(d) { return 1.1*d.dev_board_price; })).nice();
//y.domain(d3.extent(data, function(d) { return 1.1*period_to_freq(d.ring_period); })).nice();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment