x-axis on line chart not consistent on 7 day view

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

x-axis on line chart not consistent on 7 day view

Post by jimk123 »

Hi
I have posted this issue before and for some reason line graphs do not display consistently (some show times, some show dates for a 7 day display range) Is it possible this can be fixed (would prefer to see the date on a 7 day span) ? It is very random when I open the dashboard and some graphs show one way and others show another.
thanks

here is the link to a previous post with more details
viewtopic.php?t=187942

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: x-axis on line chart not consistent on 7 day view

Post by jwcooper »

This is something we're constantly running into issues with and would love to fix once and for all. The reason this is happening is that the charting library we use does a best-fit for the x-axis timescale based on the amount and range of data displayed.

We have plans to upgrade to the latest version of the library (that does a better job at this best-fit for labels), and we'll look into options to tweak this manually, but I can't give any definite time frame that this will happen.

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: x-axis on line chart not consistent on 7 day view

Post by jimk123 »

What is odd is the range , 7 days, never changes. One hour it may show dates vs times and the next time i view it an hour later the labels change.
Thanks

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”