Skip to content

Commit b0a4ca3

Browse files
remove dots from charts
1 parent 80f17c0 commit b0a4ca3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Charts.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default class Charts extends Component {
3333
<LineChart
3434
width={600}
3535
height={300}
36-
dots={false}
3736
data={result}
3837
margin={{
3938
top: 5,
@@ -54,22 +53,26 @@ export default class Charts extends Component {
5453
type="monotone"
5554
dataKey="totalconfirmed"
5655
stroke={colors.red}
56+
dot={false}
5757
activeDot={{ r: 8 }}
5858
/>
5959
<Line
6060
type="monotone"
6161
dataKey="totalactive"
6262
stroke={colors.orange}
63+
dot={false}
6364
/>
6465
<Line
6566
type="monotone"
6667
dataKey="totalrecovered"
6768
stroke={colors.green}
69+
dot={false}
6870
/>
6971
<Line
7072
type="monotone"
7173
dataKey="totaldeceased"
7274
stroke={colors.purple}
75+
dot={false}
7376
/>
7477
</LineChart>
7578
)}

0 commit comments

Comments
 (0)