Created
January 14, 2020 14:56
-
-
Save JamesZoft/50ddbc1a4cad8ea0ad91798bec300985 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
const Chart = () => { | |
return ( | |
<ResponsiveContainer> | |
<Chart data={data}> | |
<XAxis /> | |
<YAxis /> | |
<CartesianGrid /> | |
<Line isAnimationActive={false} dataKey="y"> | |
<LabelList dataKey="note" position="top" /> | |
</Line> | |
</Chart> | |
</ResponsiveContainer> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment