Created
January 6, 2020 23:08
-
-
Save BetterProgramming/65499c50223548af7c38ea7b96956d5b 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
... | |
import { AreaChart, Area } from "recharts"; | |
... | |
return ( | |
<div style={styles.container}> | |
<AreaChart data={dataArr} height={250} width={700}> | |
<Area | |
dataKey="Total" | |
stroke="none" | |
fillOpacity={1} | |
fill="#f7931a" | |
/> | |
</AreaChart> | |
</div> | |
) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment