Closed ponytony closed 3 years ago
my code:
const y = d3.scaleLinear() .domain([0, 600]) .range([this.height - this.margin.top, this.margin.top]) .ticks(1) g.attr('transform', `translate(${this.margin.left}, 0)`) .call(d3.axisLeft(y))
if i add 'ticks(1)', console would report the error version of d3 is 7.0.0,
my code:
if i add 'ticks(1)', console would report the error version of d3 is 7.0.0,