ratio and proportions on graph

This commit is contained in:
Colin Megill
2018-04-18 00:31:46 -07:00
parent ef199a9e93
commit 6a0241314d
+2 -2
View File
@@ -223,7 +223,7 @@ class Graph extends React.Component {
<div <div
id="graphWrapper" id="graphWrapper"
style={{ style={{
height: 540, /* move this to globals */ height: 1050, /* move this to globals */
backgroundColor: "white", backgroundColor: "white",
borderRadius: 3, borderRadius: 3,
boxShadow: "3px 4px 13px 0px rgba(201,201,201,1)", boxShadow: "3px 4px 13px 0px rgba(201,201,201,1)",
@@ -260,7 +260,7 @@ class Graph extends React.Component {
> >
</div> </div>
<div style={{padding: 0, margin: 0}}> <div style={{padding: 0, margin: 0}}>
<canvas width={960} height={450} ref={(canvas) => { this.reglCanvas = canvas}}/> <canvas width={960} height={960} ref={(canvas) => { this.reglCanvas = canvas}}/>
</div> </div>
</div> </div>
) )