chartForegroundStyleScale(range:type:)
Configures the foreground style scale for charts.
Declaration
nonisolated func chartForegroundStyleScale<Range>(range: Range, type: ScaleType? = nil) -> some View where Range : ScaleRange, Range.VisualValue : ShapeStyle
Parameters
- range:
The range of foreground styles that correspond to the scale domain.
- type:
The scale type.