Switch to desktop version  
Slow loading trend - viewon - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Custom Web Pages/viewON/Talk2M Visualization (https://techforum.ewon.biz/forum-55.html)
+--- Thread: Slow loading trend - viewon (/thread-1251.html)



Slow loading trend - viewon - imbe88 - 14-04-2020

Hello everyone,

I have some problems with the visualization of trends:
when I open the dedicated page, 99% of the times the trend is not loaded.
The tag is correctly set; sometimes to display the graph correctly I have to reload the page several times .. but at the end the graph is not always displayed correctly.

I attach the image of what I see and the configuration of my chart.


Do you have any advice on how to solve?


RE: Slow loading trend - viewon - Jean-Yves - 14-04-2020

Do you use Chrome or Firefox?
Do not use Edge


RE: Slow loading trend - viewon - imbe88 - 14-04-2020

(14-04-2020, 11:59 AM)Jean-Yves Wrote: Do you use Chrome or Firefox?
Do not use Edge

Hello Jean, I use chrome.
Thank you


RE: Slow loading trend - viewon - Jean-Yves - 14-04-2020

What do you in Inspect of chrome console when you display the trend?


RE: Slow loading trend - viewon - imbe88 - 14-04-2020

(14-04-2020, 02:42 PM)Jean-Yves Wrote: What do you in Inspect of chrome console when you display the trend?

i also tried with firefox and i have the same problem;

in this case I display a temperature value; but in the future I would like to create charts with various values to display.


RE: Slow loading trend - viewon - Jean-Yves - 15-04-2020

Try this




RE: Slow loading trend - viewon - imbe88 - 15-04-2020

I tried but the problem continues; 
attached a sequence of what happens. in this case, the graph appeared correctly the first time the page was reloaded. 
Other times I have to recharge it even 5 or 6 times before it appears.


RE: Slow loading trend - viewon - Jean-Yves - 15-04-2020

Your issue requires a deeper investigation.  
I recommend you report this issue to your local distributor or through the HMS Support platform https://mysupport.hms.se by mentioning the techforum post.


RE: Slow loading trend - viewon - imbe88 - 17-04-2020

ok i will contact support. I will let you know.

thank you


RE: Slow loading trend - viewon - imbe88 - 21-04-2020

I thought about this:
when I press the button to open the page, run a script mad in this way:

1) open the link
2) delay of 5/10 sec.
3) refresh page

do you have any advice on how to build javascript?


i tried this but it doesn't work:

window.open("mylink","");
setTimeout(function() {
window.location.reload()
}, 5000);


RE: Slow loading trend - viewon - Jean-Yves - 22-04-2020

No sorry I don't have idea for this