Hierarchy

  • Figure

Implements

Constructors

Properties

title?: string

The title of the figure.

Returns

String

EVENT_DISCONNECT: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_DOWNSAMPLEFAILED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_DOWNSAMPLEFINISHED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_DOWNSAMPLENEEDED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_DOWNSAMPLESTARTED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_RECONNECT: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_RECONNECTFAILED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_SERIES_ADDED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

EVENT_UPDATED: string

The data within this figure was updated. event.detail is FigureUpdateEventData

Accessors

  • get charts(): Chart[]
  • The charts to draw.

    Returns Chart[]

    dh.plot.Chart

  • get cols(): number
  • Returns number

  • get errors(): string[]
  • Returns string[]

  • get rows(): number
  • Returns number

  • get titleColor(): string
  • Returns string

  • get titleFont(): string
  • Returns string

  • get updateInterval(): number
  • Returns number

Methods

  • Listen for events on this object.

    Type Parameters

    • T

      the type of the data that the event will provide

    Parameters

    • name: string

      the name of the event to listen for

    • callback: ((e) => void)

      a function to call when the event occurs

        • (e): void
        • Parameters

          Returns void

    Returns (() => void)

    Returns a cleanup function.

      • (): void
      • Listen for events on this object.

        Returns void

        Returns a cleanup function.

  • Close the figure, and clean up subscriptions.

    Returns void

  • Type Parameters

    • T

    Parameters

    • eventName: string
    • Optional timeoutInMillis: number

    Returns Promise<Event<T>>

  • Removes an event listener added to this table.

    Type Parameters

    • T

    Parameters

    • name: string
    • callback: ((e) => void)
        • (e): void
        • Parameters

          Returns void

    Returns boolean

  • Parameters

    Returns void

  • Disable updates for all series in this figure.

    Returns void