Contents

chartSymbolSizeScale(domain:type:)

Configures the symbol size scale for charts.

Declaration

nonisolated func chartSymbolSizeScale<Domain>(domain: Domain, type: ScaleType? = nil) -> some View where Domain : ScaleDomain

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"])

  • type:

    The scale type.

See Also

Symbol size scales