I have several php scripts that retrieve data for a long time. As a result, this affects the loading time of high-speed charts, since the current code I just wrote records the chart after all the data has been extracted, since the highcharts code will only echo after all the processing is complete.
This leads to the fact that the page basically does not show anything until the data is restored. The goal is to download the high speed chart right away and then write the data returned by php scripts into a series.
So, I want all the graphs to load immediately and display a “load” without data, and then use setData to transfer data to a series of graphs after the completion of php scripts.
I'm just wondering if anyone has any examples of this? Another problem that I encountered is only the ability to set data in the $ (document) .ready (function () function, for example.
work: http://preview.tinyurl.com/b724bxo
breaks: http://preview.tinyurl.com/a7mqqkc
Thanks so much and any help would be very helpful.
source share