chartLineStyleScale(domain:)
Configures the line style scale for charts.
Declaration
nonisolated func chartLineStyleScale<Domain>(domain: Domain) -> some View where Domain : ScaleDomain
Parameters
- domain:
The possible data values plotted as line styles in the chart. You can define the domain with an array for categorical values (e.g.,
["A", "B", "C"])