UNPKG

ag-charts-types

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

11 lines (10 loc) 427 B
export interface AgDataSourceOptions<TDatum = any> { /** Asynchronous callback to load data into the chart. */ getData: (params: AgDataSourceCallbackParams) => Promise<TDatum[]>; } export interface AgDataSourceCallbackParams { /** The start of the visible window, if a time axis is available. */ windowStart?: Date; /** The end of the visible window, if a time axis is available. */ windowEnd?: Date; }