foregroundStyle(by:)
Represents data using a foreground style.
Declaration
nonisolated func foregroundStyle<D>(by value: PlottableValue<D>) -> some ChartContent where D : Plottable
Parameters
- value:
The data value to encode using foreground style.
Represents data using a foreground style.
nonisolated func foregroundStyle<D>(by value: PlottableValue<D>) -> some ChartContent where D : Plottable
The data value to encode using foreground style.