-
it seems I'm unable to load data as I scroll through the end of the chart, I thought of using the setLoadMoreDataCallback function for the task. this is my code: ` onMount(async () => {
});` the problems seems that It doesn't even try to run the callback function despite reaching the far end of the chart in both directions. Any suggestions ? (ps:I'm using svelte as frontend ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turned out that you have to pass a true boolean value at the applyNewData function as second parameter, when you insert data for the first time, in order to signal the existence of more data to be added and the same goes for the second parameter of callback function. |
Beta Was this translation helpful? Give feedback.
It turned out that you have to pass a true boolean value at the applyNewData function as second parameter, when you insert data for the first time, in order to signal the existence of more data to be added and the same goes for the second parameter of callback function.
To be fair this in the API is not specified.