foregroundStyle(by:)
Represents data using a foreground style.
Declaration
nonisolated func foregroundStyle(by value: PlottableProjection<Self.DataElement, some Plottable>) -> some VectorizedChartContent<Self.DataElement>
Parameters
- value:
The data value to encode using foreground style.