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
.