Swift Charts - Beyond the basics
summary
Prototype Apple Watch app reads seven days of steps from HealthKit and renders them as a vertical BarMark + RuleMark chart with three RuleMarks: per-day highlight navigable via digitalCrownRotation, a user-set goal line, and a 7-day average. Examples show customizing axis labels, forcing a Y scale domain, centering weekday X labels, gradients and opacity, and combining marks; code is demoed and intended for GitHub. Requires Xcode 14 and iOS 16+ / watchOS 9+ and SwiftUI-only.
AI-written summary · about
chapters (15)
- 0:00Introduction and speakers
- 1:15Talk overview and agenda
- 3:02What is Swift Charts
- 3:24Technical requirements
- 3:44Data visualization basics
- 4:54Common chart types explained
- 8:26Charts supported by Swift Charts
- 11:00Customizing chart appearance
- 13:31Combining multiple marks
- 14:13User interaction examples
- 15:43Old vs new charting style
- 16:25Research wins and challenges
- 17:52Limitations and future needs
- 18:13Swift Charts curiosities
- 18:58Q&A session








