I have highcharts graphics. When I create my page I show empty graphics (I don't set data attribute and there is only titles of graphics, inside of them is empty.) I get data from server asynchronously and call
setData()
function at callback. However user sees an empty page and I want to show a loading image for them. This: http://api.highcharts.com/highcharts#loading doesn't work for me.
Any ideas?
"Loading.." word seems too amateur. Use that trick instead
This is a simple piece i always use to show the loading.
let's say this is our container
And this is the piece of ajax that takes care to show when the getJson starts for the chart and hide when it stops.
You can define globally for each page using this plugin JQuery Block UI
and usage is
I did it work as explained at given URL: