Contents

symbol(for:)

Returns the symbol for the given data value. Returns nil if the symbol scale is unavailable, or the value is invalid.

Declaration

func symbol<P>(for value: P) -> AnyChartSymbolShape? where P : Plottable

Parameters

  • value:

    The data value.

Return Value

The symbol corresponding to the data value, or nil if the data value is incompatible with the chart.