mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 14:38:11 +08:00
ratio and proportions on graph
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user