Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilamanov authored Apr 25, 2021
1 parent a070958 commit 8fec450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ You can change the width of the pie chart by providing `widthFraction` parameter
PieChartView(
values: [1300, 500, 300],
names: ["Rent", "Transport", "Education"],
formatter: {value in String(format: "$%.2f", value)}, widthFraction: 0.95)
formatter: {value in String(format: "$%.2f", value)},
widthFraction: 0.95)
```
![SwiftUI Pie Chart Wider](./Resources/demo_width.png "SwiftUI Pie Chart Wider")

Expand Down

0 comments on commit 8fec450

Please sign in to comment.