Interface FigureDataUpdatedEvent

Event detail for a figure data update.

Provides access to the updated data for one or more related series.

Hierarchy

  • FigureDataUpdatedEvent

Accessors

Methods

Accessors

  • get series(): Series[]
  • The series related to this update.

    Returns Series[]

Methods

  • Gets a contiguous JS array of values for the given series and data source type.

    If provided, `mappingFunc` is applied to each value. To re-use cached data across calls, use the same `mappingFunc` instance each time.

    Parameters

    • series: Series

      the series to read data for

    • sourceType: number

      the data source type, as defined by the series descriptor

    • Optional mappingFunc: ((arg0) => any)

      an optional mapping function applied to each value; null returns the raw values

        • (arg0): any
        • Parameters

          • arg0: any

          Returns any

    Returns any[]

    a contiguous JS array of values