add classnames to canvases

This commit is contained in:
Colin Megill
2021-07-20 12:20:27 -07:00
parent 9c2323b7bc
commit 02e79d502f
3 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ export default class MiniHistogram extends React.PureComponent {
height,
borderBottom: "solid rgb(230, 230, 230) 0.25px",
}}
className="mini-histo"
width={width}
height={height}
ref={this.canvasRef}

View File

@@ -63,6 +63,7 @@ export default class MiniStackedBar extends React.PureComponent {
width,
height,
}}
className="mini-stacked-bar-canvas"
width={width}
height={height}
ref={this.canvasRef}

View File

@@ -502,6 +502,7 @@ class Scatterplot extends React.PureComponent {
width={width}
height={height}
data-testid="scatterplot"
className="scatterplot-canvas"
style={{
marginLeft: margin.left,
marginTop: margin.top,