chartSymbolSizeScale(domain:mapping:)
Configures the symbol size scale for charts.
Declaration
nonisolated func chartSymbolSizeScale<Domain>(domain: Domain, mapping: @escaping (Domain.Element) -> CGFloat) -> some View where Domain : Collection, Domain.Element : Plottable
Parameters
- domain:
The possible data values plotted as symbol size in the chart.
- mapping:
Maps data categories to symbol sizes.