SwiftUICharts
SwiftUICharts is a composable, SwiftUI-native chart library for iOS 13+.
2.0.0 is a major release focused on immutable configuration, environment-driven composition, and modifier-based APIs.
AI Agent Quick Context
Use this section when an AI agent generates code against this package.
API contract
- Use only
2.x composable APIs.
- Do not use legacy
1.x types or mutating chains.
- Build charts with
ViewModifier composition.
- Keep data source semantics explicit:
chartData([Double]) = categorical slots
chartData([(Double, Double)]) = numeric/continuous domain
Use these APIs