Page 1 of 1

Dynamic Graph

Posted: Wed Aug 23, 2017 12:35 am
by wxthomson
The x axis seems to be in Z time and not local time.
Is there a reason for that?

Re: Dynamic Graph

Posted: Wed Aug 23, 2017 2:03 am
by wxthomson
Additional info

Occasionally the block will load with vertical graph lines for times.
When it does this the time is local.

Mostly, it loads without the vertical lines and it loads as local but reverts to Z time after about 30 seconds.

Re: Dynamic Graph

Posted: Wed Aug 23, 2017 10:21 am
by Jachym
That´s strange, does it do it in the DEMO too? Because I cannot replicate it, I see the times always correctly on my test server. See if you can replicate the issue on the demo site.

Re: Dynamic Graph

Posted: Wed Aug 23, 2017 6:36 pm
by wxthomson
I must be missing it but I don't see the Dynamic Graph block in the demo

Re: Dynamic Graph

Posted: Wed Aug 23, 2017 7:57 pm
by Johnny
wxthomson wrote: Wed Aug 23, 2017 6:36 pm I must be missing it but I don't see the Dynamic Graph block in the demo
I think it's here: http://www.meteotemplate.com/template/i ... ctiveGraph

John

Re: Dynamic Graph

Posted: Wed Aug 23, 2017 11:27 pm
by wxthomson
Thanks, but that's the Interactive Graph

Re: Dynamic Graph

Posted: Thu Aug 24, 2017 7:27 am
by Jachym

Re: Dynamic Graph

Posted: Thu Aug 24, 2017 11:45 pm
by wxthomson
Okay, I'll just delete it from my site.

I'm happy it works for you.

Re: Dynamic Graph

Posted: Fri Aug 25, 2017 10:11 am
by Jachym
Hi,
I asked you if you could check if the DEMO works, you never replied to that question and instead say you will delete it. It is then hard to help you, and not to mention that it would be nice if the problem was solved for everyone. Deleting it is not a solution.

Re: Dynamic Graph

Posted: Fri Aug 25, 2017 9:12 pm
by wxthomson
Yes, of course you are correct.

yes, the demo works for me.
on my site, the time reverts to zulu at the first up date whatever that may be set to.

Re: Dynamic Graph

Posted: Fri Aug 25, 2017 9:27 pm
by Jachym
OK, can you post a link to your website then? I will look at what's going on

Re: Dynamic Graph

Posted: Sun Aug 27, 2017 11:06 am
by Jachym
Fixed

Dynamic Graph 2.1

Re: Dynamic Graph

Posted: Sun Aug 27, 2017 8:23 pm
by Luc
On my website the Dynamic Graph looks a bit funny for Wind.
Partly the graph show 5-minutes data, partly the graph show 2.5-seconds data.
Also: incidently the graph starts at 1970.
Image

Re: Dynamic Graph

Posted: Sun Aug 27, 2017 8:57 pm
by Jachym
Hi,
yes, that unfortunately is because the first time the graph loads, it has to get past data from the database (i.e. 5 minutes). Then the next points are already added from API (which you update more frequently) and because you use extremely short update times (3s) it then creates this...

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:24 pm
by PaulMy
I have added the dynamicBlock and it doesn't seem to behave correctly. When it first loads it shows correctly for a few seconds and then shows a graph with the axis as years. In setup I have cumulus and the path ../weather/realtime.txt (http://www.komokaweather.com/weather/realtime.txt)

p.s. Jachym, I have make a temp indexDesktop with just just a few blocks so you can see it quicker... www.komokaweather.com/j-template

Paul

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:27 pm
by Jachym
Hi,
Paul use the API, everyone should now be using the api, I should have deleted the Cumulus option

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:30 pm
by PaulMy
What API key :oops:

Paul

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:33 pm
by Jachym
No Api key, we are talking about Meteotemplate API. Set the block data source to API. Do not use Cumulus :)

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:33 pm
by PaulMy
Ok, I think I got the message, use the word api instead of cumulus. Now seems fine.

Paul

Re: Dynamic Graph

Posted: Sun Sep 03, 2017 5:37 pm
by Jachym
OK, yes, sorry for the confusion. I made a mistake in that I didnt delete the cumulus option, the block now works with the api exclusively.