Skip to content

Commit c8aba3d

Browse files
committed
concluded research on Swift charts
1 parent 68486a6 commit c8aba3d

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed
Loading

Notes/SwiftCharts/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ Chart(sunshineData) { element in
439439

440440
![Sunshine Chart](../../sunshine_chart.png)
441441

442+
- - -
443+
442444
## PointMark
443445

444446
Chart content that represent data using points.
@@ -528,3 +530,33 @@ Chart(stageBurnData) { element in
528530

529531
![Apollo Burn Duration During Accent](../../apollo_burn_data.png)
530532

533+
- - -
534+
535+
## RectangleMark
536+
537+
Chart content that represents data using rectangles.
538+
539+
- - -
540+
541+
## RuleMark
542+
543+
Chart content that represents data using a single horizontal or vertical rule.
544+
545+
```swift
546+
Chart {
547+
RuleMark(
548+
y: .value("Threshold", 51)
549+
)
550+
.foregroundStyle(.red)
551+
}
552+
```
553+
554+
![RuleMark on bar chart, denoting threshold](../../LineSegmentMarkSwift.LineSegmentMarkBarChartWithHorizontalLineSegmentMark~dark@2x.png)
555+
556+
- - -
557+
558+
## BarMark
559+
560+
Chart content that represents data using Bars.
561+
562+
- - -

0 commit comments

Comments
 (0)