foregroundStyle(_:)
Sets the foreground style for the chart content.
Declaration
nonisolated func foregroundStyle<S>(_ style: S) -> some ChartContent where S : ShapeStyle
Parameters
- style:
The shape style.
Sets the foreground style for the chart content.
nonisolated func foregroundStyle<S>(_ style: S) -> some ChartContent where S : ShapeStyle
The shape style.