GD
Size: a a a
GD
GD
R
GD
GD
GD
R
R
GD
<canvas ref={canvas => this.canvas = canvas}
width={this.width}
height={this.height}
className="canvas-plot"
style={{marginLeft: this.margin.left, marginTop: this.margin.top}}></canvas>
GD
this.canvasChart = select(this.container).append('canvas')
.attr('width', this.width)
.attr('height', this.height)
.style('margin-left', this.margin.left + 'px')
.style('margin-top', this.margin.top + 'px')
.attr('class', 'canvas-plot');
GD
DK
GD
GD
GD
GD
GD
const xRange = scaleTime()
.domain([xFrom, xTo])
.range([0, this.width])
.nice();
DK
GD