Interactive Graph
- jay_hoehn
- Language Admin

- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Interactive Graph
My Interactive graph is showing the wrong time scale at the bottom and the times in the popup boxes. The time is exactly minus 7 hours. The data displayed is correct for the correct time. Example: The temp at 8:00 am this morning was 41.3 if you look at the time of 1:00 am on the graph is shows 41.3. It is the graph times that are wrong. Help please.
Jay
Jay
- iatros
- Language Admin

- Posts: 147
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Interactive Graph
Hi Jay
to increase your confusion:
seen from here (Switzerland), it looks all right (8 am - 41.3 °F) ?
iatros
to increase your confusion:
seen from here (Switzerland), it looks all right (8 am - 41.3 °F) ?
iatros
- jay_hoehn
- Language Admin

- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: Interactive Graph
Latros,
Thanks for looking. I am confused. I deleted the cache and still seeing the same issue.
Jay
Thanks for looking. I am confused. I deleted the cache and still seeing the same issue.
Jay
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Interactive Graph
I suspect they must have made some change in Highcharts, because similar issue was in Meteogram and Interactive Graph was working fine, it is there since v1, people would notice...
- jay_hoehn
- Language Admin

- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: Interactive Graph
Can it be fixed?
Jay
Jay
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Interactive Graph
I will have to look at what exactly they did
- georg
- Observer

- Posts: 42
- Joined: Sun Aug 20, 2017 8:59 pm
- Location: Denmark
- Station model: Davis Pro 2+
- Software: Weather Display
- Contact:
Re: Interactive Graph
Mine is plus 1 hour, could it bee something related to UTC time? (Denmark UTC +1 hour --- US UTC -7 hour)jay_hoehn wrote: ↑Tue Jan 09, 2018 3:24 pm My Interactive graph is showing the wrong time scale at the bottom and the times in the popup boxes. The time is exactly minus 7 hours. The data displayed is correct for the correct time. Example: The temp at 8:00 am this morning was 41.3 if you look at the time of 1:00 am on the graph is shows 41.3. It is the graph times that are wrong. Help please.
Jay
https://www.timeanddate.com/time/map/
Graftime on popup shows correct time.
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Interactive Graph
I sent Jay a fix to test, if it works I will release it
- iatros
- Language Admin

- Posts: 147
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Interactive Graph
I'm UTC +1 also - my interactive graph is correct!
Mine is plus 1 hour, could it bee something related to UTC time? (Denmark UTC +1 hour --- US UTC -7 hour)
https://www.timeanddate.com/time/map/
Graftime on popup shows correct time.
- jay_hoehn
- Language Admin

- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: Interactive Graph
Jachym,
Not sure if this might help, but the new lite mobile site interactive graph has the correct times on it. Just noticed this.
Jay
Not sure if this might help, but the new lite mobile site interactive graph has the correct times on it. Just noticed this.
Jay
- georg
- Observer

- Posts: 42
- Joined: Sun Aug 20, 2017 8:59 pm
- Location: Denmark
- Station model: Davis Pro 2+
- Software: Weather Display
- Contact:
Re: Interactive Graph
Noticed that the popup on the block shows the correct time.
It is only the block it self that differs. (+1 hour ahead)

It is only the block it self that differs. (+1 hour ahead)

- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Interactive Graph
Hi,
yes, which makes no sense... the new mobile homepage uses the same setting as the interactiveGraph one
yes, which makes no sense... the new mobile homepage uses the same setting as the interactiveGraph one
Re: Interactive Graph
Hi georg
Your "big" graph looks fine to me. Time is now 20:58 and latest record from 20:55
Time on x-axis on the right is 21:00
http://vejr.arloese.dk/template/pages/station/graph.php
Inspector gives this option:
Highcharts.setOptions({
global: {
useUTC: true
},
lang: {
months: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
resetZoom: ['Standard zoom']
}
});
But this is one hour ahead:
http://vejr.arloese.dk/template/indexDesktop.php
Inspector gives this option:
Highcharts.setOptions({
global: {
useUTC: true
},
lang: {
months: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
resetZoom: ['Standard zoom']
}
});
Inspector also finds this option:
Highcharts.setOptions({
global: {
useUTC: false,
timezoneOffset: -60
},
lang: {
months: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
resetZoom: ['Standard zoom']
}
});
Maybe you wanna have a look at the timezone-option: https://api.highcharts.com/highcharts/global.timezone
Requires moment.js but user just have to type in location and Highcharts takes care of the rest (also at DST-change).
Kind Regards
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Interactive Graph
Highcharts adjusts time based on user system time, which is a problem because thats not what we want. Setting it to UTC should prevent this because it tells the script not to convert anything. What puzzles me is that the same setting works in other blocks/pages
- Didiersm
- Observer

- Posts: 40
- Joined: Sun Aug 20, 2017 1:05 pm
- Location: Fontnilles France
- Station model: WMR200
- Software: Weathe rDisplay
- Contact:
Re: Interactive Graph
HI,
Sorry but the issue is still alive for me and I don't know wy!
I take the time to have a look on it since long months!
All PhP file seems to be correct.
Any idea?
thks
Sorry but the issue is still alive for me and I don't know wy!
I take the time to have a look on it since long months!
All PhP file seems to be correct.
Any idea?
thks
Station WMR200
Fontenilles Wheather - FR http://didiersm.16mb.com/template/indexDesktop.php
mailto:didier.sm@gmail.com

Fontenilles Wheather - FR http://didiersm.16mb.com/template/indexDesktop.php
mailto:didier.sm@gmail.com
-
Tigro11
- Observer

- Posts: 31
- Joined: Fri Nov 08, 2019 8:11 pm
- Location: Italy
- Station model: davis 6152
- Software: weatherLink - cumulus mx
- Contact:
Re: Interactive Graph
hello guys same problem, the chart is one hour ahead, and is it possible to solve the problem?
thanks
thanks
-
casabastiano
- Newbie

- Posts: 1
- Joined: Fri Oct 20, 2017 9:17 am
- Station model: Davis Vantage Pro 2
- Software: WeatherCat
Re: Interactive Graph
I'm sorry, but I have the same problem. My interactive graph on the block show +2 hour. The popup on the block shows the correct time. Even if I change from "Today" to "last 24 hours" or "yesterday" the graph show the correct time, but when I open the home page the time is +2 hour (the block is set on "Today", i already try to change the default configuration but nothing changed).
Is it possible to fix this problem?
Is it possible to fix this problem?
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive Graph
Can you please post a screenshot showing the issue?
Currently I dont know where at the page is the issue you taklng from.
Which block is it?
Regards
Currently I dont know where at the page is the issue you taklng from.
Which block is it?
Regards
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive Graph
Hi,
I see. I did install the interactiveGraph block some days ago, but all was fine.
Today I noticed that the hour at the x-axis wat abt. 2 hours ahead. Modifying time zone in main setup did not change anything.
But switching in the block from i.e. "Today" to "Yesterday" or switching from "Temperature" to "Dewpoint" the time at the axis was displayed correct again... very weird.
Regards
I see. I did install the interactiveGraph block some days ago, but all was fine.
Today I noticed that the hour at the x-axis wat abt. 2 hours ahead. Modifying time zone in main setup did not change anything.
But switching in the block from i.e. "Today" to "Yesterday" or switching from "Temperature" to "Dewpoint" the time at the axis was displayed correct again... very weird.
Regards