symbol(by:)
Represents data using different kinds of symbols.
Declaration
nonisolated func symbol(by value: PlottableProjection<Self.DataElement, some Plottable>) -> some VectorizedChartContent<Self.DataElement>
Parameters
- value:
The data value.
valuemust be categorial, such asString.