fixing width/height in FF

main
Matthew Huntington 2 years ago
parent ec8786539e
commit 4d77e2fc78

@ -111,10 +111,9 @@ const renderPoints = () => {
}
const setupGraph = ()=>{
d3.select('svg');
d3.select('svg')
.style('width', WIDTH)
.style('height', HEIGHT);
d3.select('#container')
.attr('width', WIDTH)
.attr('height', HEIGHT);
xScale = d3.scaleTime();
xScale.range([0,WIDTH]);

Loading…
Cancel
Save