Update README.md
This commit is contained in:
parent
053f0ea8d6
commit
5ab082d2f7
|
@ -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 />
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue