Last active
April 21, 2018 05:33
-
-
Save oneybee/5c66f29cf6b9ab1ed983de6e0c5513ec to your computer and use it in GitHub Desktop.
ExampleTwoDeepComponent_recharts
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
<LineChart width={900} height={300} data={this.state.data} margin={{right: 200}}> | |
<XAxis dataKey="name" /> | |
<YAxis/> | |
<CartesianGrid strokeDasharray="3 3"/> | |
<Tooltip/> | |
<Legend /> | |
<Line type="monotone" dataKey="goals" stroke="#8884d8" activeDot={{r: 8}}/> | |
<Line type="monotone" dataKey="goalsAgainst" stroke="#82ca9d" /> | |
</LineChart> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment