Contents

foregroundStyle(_:)

Represents data using a foreground style.

Declaration

nonisolated func foregroundStyle(_ keyPath: KeyPath<Self.DataElement, some ShapeStyle>) -> some VectorizedChartContent<Self.DataElement>

Parameters

  • keyPath:

    The accessor for shape style.

See Also

Styling marks