Update README.md

This commit is contained in:
Abhinandan Kushwaha 2021-08-03 18:50:52 +05:30 committed by GitHub
parent 053f0ea8d6
commit 5ab082d2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -39,12 +39,15 @@ const data=[ {value:50}, {value:80}, {value:90}, {value:70} ]
<PieChart data = {data} />
// For Horizontal Bar chart, just add the prop horizontal to the <BarChart/> component
<BarChart data = {data} horizontal />
// For Area chart, just add the prop areaChart to the <LineChart/> component
<LineChart data = {data} areaChart />
// For Donut chart, just add the prop donut to the <PieChart/> component
<PieChart data = {data} donut />
```