Heatmap axis for date incorrect in weekly chart

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
miraculon
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Dec 15, 2013 3:02 pm

Heatmap axis for date incorrect in weekly chart

Post by miraculon »

I noticed that the calendar date at the bottom of the heatmap-temp-tmp chart for one week (Sunday start) is off by one day. The date shown when the mouse if hovered over the data is correct. Only the axis label at the bottom is off by a day.

See:
https://admin.meteobridge.com/94165b178 ... W1&stop=W0

For example, today (14 Dec 2016) the axis under the current column shows "Dec 13". The data on the mouse hover shows 2016-12-14 along with the temperature data and time.

Greg Hamel
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Heatmap axis for date incorrect in weekly chart

Post by admin »

I tried your link and it works ok. Therefore, I am a bit confused, what exactly does not work for you.
Can you please send a screenshot?
Screen Shot 2016-12-17 at 12.50.12.png
Screen Shot 2016-12-17 at 12.50.12.png (17.36 KiB) Viewed 4102 times
miraculon
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Dec 15, 2013 3:02 pm

Re: Heatmap axis for date incorrect in weekly chart

Post by miraculon »

See attached. I also tried the Microsoft Edge browser and got the same result. We are on Eastern Standard Time (America/Detroit), if that has any effect.
The UTC date is ahead of here, so that shouldn't be the problem.
I see your screenshot, but I am still getting the wrong date on the bottom axis. Today is 17 Dec and the axis shows Dec 16 for today.

Greg Hamel
Attachments
heatmap.png
heatmap.png (13.21 KiB) Viewed 4099 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Heatmap axis for date incorrect in weekly chart

Post by admin »

Strange... can you please send the HTML source code of a false example to "info(at)meteobridge.com"?
When I click onto the link above it always shows data fine.
miraculon
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Dec 15, 2013 3:02 pm

Re: Heatmap axis for date incorrect in weekly chart

Post by miraculon »

admin wrote:Strange... can you please send the HTML source code of a false example to "info(at)meteobridge.com"?
When I click onto the link above it always shows data fine.
Email was sent.

Greg
miraculon
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Dec 15, 2013 3:02 pm

Re: Heatmap axis for date incorrect in weekly chart

Post by miraculon »

Hint: the Hi/Lo chart (tempminmax-imp) is working properly with the date axis.

https://admin.meteobridge.com/94165b178 ... W1&stop=W0

Greg
Post Reply