ProtoTwin API
    Preparing search index...

    Class HistogramSeries

    Histogram Series.

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Constructor.

      Parameters

      • Optionalx: readonly number[]

        The (optional) input values.

      • Optionalb: readonly number[]

        The (optional) bins, defining the bin edges (from the left edge of the first bin to the right edge of the last bin).

      Returns HistogramSeries

    Accessors

    • get count(): number

      The number of bins.

      Returns number

    Methods

    • Clears the series.

      Returns void

    • Creates the series.

      Parameters

      • x: readonly number[]

        The input values.

      • b: readonly number[]

        The bins, defining the bin edges (from the left edge of the first bin to the right edge of the last bin).

      Returns void

    • Forces a redraw of the series at the next update.

      Returns void

      This function should be called after manually adding/changing the data arrays for the series.