Created
December 11, 2019 03:22
-
-
Save fud/ba3862bfd6739883c45a90dc559125b0 to your computer and use it in GitHub Desktop.
Canvas: text left of canvas as a label
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Row className="timeline-canvas-row"> | |
<Col> | |
<canvas | |
id="timeline-canvas" | |
ref={this.chartRef} | |
> | |
</canvas> | |
<div className="results"> | |
Results | |
</div> | |
</Col> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.results { | |
position: absolute; | |
top: 250px !important; | |
left: -40px !important; | |
transform: rotate(-90deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment