symbolSize(for:)
Returns the symbol size for the given data value. Returns nil if the symbol size scale is unavailable, or the value is invalid.
Declaration
func symbolSize<P>(for value: P) -> CGFloat? where P : PlottableParameters
- value:
The data value.
Return Value
The symbol size corresponding to the data value, or nil if the data value is incompatible with the chart.