chartForegroundStyleScale(_:)
Configures the foreground style scale for charts.
Declaration
nonisolated func chartForegroundStyleScale<DataValue, S>(_ mapping: KeyValuePairs<DataValue, S>) -> some View where DataValue : Plottable, S : ShapeStyle
Parameters
- mapping:
Maps data categories to foreground styles.