Skip to content

Commit 1bc196b

Browse files
committed
read me
1 parent aa5443a commit 1bc196b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ Chart(data: [0.1, 0.3, 0.2, 0.5, 0.4, 0.9, 0.1])
3636
)
3737
```
3838

39+
### Stacked Area
40+
41+
```swift
42+
Chart(data: matrix)
43+
.chartStyle(
44+
StackedAreaChartStyle(.quadCurve, colors: [.yellow, .orange, .red])
45+
)
46+
```
47+
3948
### Column
4049
<center>
4150
<img src="Resources/columnChart.png"/>
@@ -48,6 +57,15 @@ Chart(data: [0.1, 0.3, 0.2, 0.5, 0.4, 0.9, 0.1])
4857
)
4958
```
5059

60+
### Stacked Column
61+
62+
```swift
63+
Chart(data: matrix)
64+
.chartStyle(
65+
StackedColumnChartStyle(spacing: 2, colors: [.yellow, .orange, .red])
66+
)
67+
```
68+
5169
## SDKs
5270
- iOS 13+
5371
- Mac Catalyst 13.0+

0 commit comments

Comments
 (0)