By calling goto(t) when t is outside the loaded data rage, the correct chunk loading is being triggered, but the chart first jumps to the desired time range, jumps then back to the current time. Once the data loading is done and I trigger goto(t) again, everything works as expected. How can I avoid this and jump to t right away or can be informed that the loading is done so I can call goto(t) again?
Code
Code can be based on DataHelper.vue from tests, but requires a dynamic chunk loading.
Additional info: once I call goto(t) the second time and the chart is at the correct time range the chart crashes on scrolling (100% cpu load, page not responding any longer), tested on Chrome and Safari
Description
By calling
goto(t)
whent
is outside the loaded data rage, the correct chunk loading is being triggered, but the chart first jumps to the desired time range, jumps then back to the current time. Once the data loading is done and I triggergoto(t)
again, everything works as expected. How can I avoid this and jump tot
right away or can be informed that the loading is done so I can callgoto(t)
again?Code
Code can be based on DataHelper.vue from tests, but requires a dynamic chunk loading.
<button v-on:click="goto">GOTO</button>
Environment