|
|
@@ -22,7 +22,7 @@ const GraphCases: React.FC<Props> = ({ country }) => {
|
|
|
<div>
|
|
|
<h3>Country: {country.toUpperCase()}</h3>
|
|
|
<LineChart width={640} height={480} data={cases} margin={margin}>
|
|
|
- <XAxis dataKey="date" />
|
|
|
+ <XAxis dataKey="date" label="Date" />
|
|
|
<CartesianGrid stroke="#f5f5f5" />
|
|
|
<Line type="monotone" dataKey="value" stroke="#000" yAxisId={0} />
|
|
|
</LineChart>
|