Commit 81bcba36 authored by marc's avatar marc Committed by marc duez
Browse files

numerical_axis.js : d3 scale.log function has been renamed in v5

parent d4fce2b0
......@@ -130,11 +130,11 @@ NumericalAxis.prototype = Object.create(GenericAxis.prototype);
var range = [0,1]
if (self.reverse) range = [1,0]
if (use_log){
this.sizeScale = d3.scale.log()
this.sizeScale = d3.scaleLog()
.domain([min, max])
.range(range);
}else{
this.sizeScale = d3.scale.linear()
this.sizeScale = d3.scaleLinear()
.domain([min, max])
.range(range);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment