You are not logged in.
Hey,
Is it possible to show loading screen when chart.write is called and hide it when chart.write is done (I have complex charts and it takes some time to render them). Is there any related events which I can bind loading screen to?
Thanks!
Offline
Currently Stock chart does not have "init" handler. We will add it in upcoming versions.
Meanwhile you can use "zoomed" event. It's called when the chart is first initialized so you can use first call to "zoomed" handler to catch when chart is fully initialized.
var inited = false;
chart.addListener('zoomed', function (event) {
if (!inited) {
// remove "loading" panel
// ...
inited = true;
}
});Offline
© amCharts | Forum engine: PunBB