Constructors

  • The Buffer object represents a series of scalar data values

    Parameters

    • id: string
    • handle: number
    • Optionaldisplacement: number

    Returns Buffer

Methods

  • Parameters

    • value: "id"

    Returns string

  • Parameters

    • value: "handle" | "firstIndex" | "lastIndex" | "startIndex" | "endIndex"

    Returns number

  • Parameters

    • value: "empty" | "visible" | "leqz"

    Returns boolean

  • retrieves optional object containing meta data about the buffer. for example, this is used for point and figure buffers.

    Returns { [key: string]: any }

  • returns the size of the buffer

    Returns number

  • returns an array containing all values of the buffer.

    data must not be modified directly; use methods of parent BG.charts.Data instance instead.

    Returns Float64Array