Contents

chartSymbolSizeScale(domain:range:type:)

Configures the symbol size scale for charts.

Declaration

nonisolated func chartSymbolSizeScale<Domain, Range>(domain: Domain, range: Range, type: ScaleType? = nil) -> some View where Domain : ScaleDomain, Range : ScaleRange, Range.VisualValue == CGFloat

Parameters

  • domain:

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

  • range:

    The range of symbol size that correspond to the scale domain.

  • type:

    The scale type.

See Also

Symbol size scales