Skip to content

setLoadMoreDataCallback(cb) ​

setLoadMoreDataCallback set the callback for loading more data for the chart.

Reference ​

typescript
(
  cb: (params: { 
    type: 'forward' | 'backward'
    data: Nullable<KLineData>
    callback: (dataList: KLineData[], more?: boolean) => void
  }) => void
) => void

Parameters ​

  • cb Callback.

Returns ​

setLoadMoreDataCallback returns undefined .

Usage ​

Basic usage ​