Fela Maslen пре 5 година
родитељ
комит
ede7c87452
1 измењених фајлова са 1 додато и 1 уклоњено
  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>