BinningFunction

public enum BinningFunction : String, Encodable

Specifies the binning function used for this histogram trace.

If count, the histogram values are computed by counting the number of values lying inside each bin. If sum, avg, min, max, the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively.

Note

Used by Histogram<XData, YData>.binningFunction, Histogram2D<XData, YData, ZData>.binningFunction, Histogram2DContour<XData, YData, ZData>.binningFunction.
  • Undocumented

    Declaration

    Swift

    case count
  • sum

    Undocumented

    Declaration

    Swift

    case sum
  • avg

    Undocumented

    Declaration

    Swift

    case avg
  • min

    Undocumented

    Declaration

    Swift

    case min
  • max

    Undocumented

    Declaration

    Swift

    case max