Created
April 18, 2020 00:16
-
-
Save marshallmurphy/62cc2d1744629347881556e283b5c0c7 to your computer and use it in GitHub Desktop.
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
// BarGraph/index.js | |
... | |
let width = Dimensions.get('screen').width; | |
let xAxisHeight = 30; | |
let yAxisHeight = 325; | |
return ( | |
<View style={styles.main}> | |
<YAxis | |
height={yAxisHeight} | |
width={width} /> | |
<Columns /> | |
<XAxis | |
width={width - 10} | |
height={xAxisHeight} /> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment