cevepe
Posts: 8
Joined: Mon Sep 13, 2021 7:18 am

Loading circle, how display in graph?

I have a problem. I generate data from mySQL and if there is too much of it, it takes 2-4 seconds for the graph to appear, which can be confusing for users.
Is there a way to insert information into the chart before loading that the chart is loading?

Graph: https://luhamet.cz/teplota-vlhkost/#tep ... 20-01-01.3
Code: https://pastebin.com/guX4x8mT

Thank you very much for your help.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Loading circle, how display in graph?

Hello cevepe,

Thanks for contacting us with your question.

In this case I would recommend using no data module. You can read more about it here: https://api.highcharts.com/highcharts/noData
You can also find there examples with usage.

Let me know if that was what you were looking for!
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”