Contents

chartSymbolScale(domain:mapping:)

Configures the symbol scale for charts.

Declaration

nonisolated func chartSymbolScale<Domain, S>(domain: Domain, mapping: @escaping (Domain.Element) -> S) -> some View where Domain : Collection, S : ChartSymbolShape, Domain.Element : Plottable

Parameters

  • domain:

    The possible data values plotted as symbol in the chart.

  • mapping:

    Maps data categories to symbol shapes.

See Also

Symbol scales