Contents

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.

See Also

Styling marks