Contents

chartSymbolScale(domain:range:)

Configures the symbol style scale for charts.

Declaration

nonisolated func chartSymbolScale<Domain, Range>(domain: Domain, range: Range) -> some View where Domain : ScaleDomain, Range : ScaleRange, Range.VisualValue : ChartSymbolShape

Parameters

  • domain:

    The possible data values plotted as symbols in the chart. You can define the domain with an array for categorical values (e.g., ["A", "B", "C"])

  • range:

    The range of symbols that correspond to the scale domain.

See Also

Symbol scales