Events: {
    data: (
        metaData: BG.charts.IDataLoader.TMetaData | null,
        values: number[][] | null,
    ) => void;
    error: (error: Error) => void;
    invalidate: () => void;
    push: (data: TPush) => void;
    pushStateChanged: (state: Error | boolean) => void;
    updatedIdentifier: (oldIdentifier: string, newIdentifier: string) => void;
}

Type declaration

  • data: (
        metaData: BG.charts.IDataLoader.TMetaData | null,
        values: number[][] | null,
    ) => void

    Fired when a timeseries data is loaded

  • error: (error: Error) => void

    TODO:

  • invalidate: () => void

    TODO:

  • push: (data: TPush) => void

    Fired when a timeseries data is updated via push

  • pushStateChanged: (state: Error | boolean) => void

    Fired when the state of push updates changed. Boolean arguments signify if the push is currently busy catching up / synchronizing; true: push updates are working on catching up null or false: streaming push updates are in sync (again), no error Alternatively an instance of BG.charts.Error (possibly a BG.charts.RecoverableError) can be provided.

  • updatedIdentifier: (oldIdentifier: string, newIdentifier: string) => void

    Fired when a loader updated the identifier which it has been given