chartLineStyleScale(domain:mapping:)
Configures the line style scale for charts.
Declaration
nonisolated func chartLineStyleScale<Domain>(domain: Domain, mapping: @escaping (Domain.Element) -> StrokeStyle) -> some View where Domain : Collection, Domain.Element : Plottable
Parameters
- domain:
The possible data values plotted as line style in the chart.
- mapping:
Maps data categories to line styles.