Fela Maslen 5 éve
szülő
commit
ede7c87452
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/components/graph-cases.tsx

+ 1 - 1
src/components/graph-cases.tsx

@@ -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>