09-03-2016 11:45 - last edited on 11-18-2016 12:33 by LanuzaFitbit
09-03-2016 11:45 - last edited on 11-18-2016 12:33 by LanuzaFitbit
My 30 day weight graph in my Web Profile is missing the hover over values and y-axis description. However it is only the 30 day weight graph that has the issue. All of the other dashboard views for weight, online and from the web apss work as expected.
A screenshot of my 30 day weight graph missing the y-axis description and mouse-over values is here.
However from the same computer I can see a friends 30 day weight graph correctly.
See below the working example.
At first I thought the problem might be that I was using a non FitBit scale. So I went out and purchased the Aria, linked it to my account and weighed. The new Aria weight data showed up in my dashboard and all of my mobile apps without a problem but still the 30 day weight graph was missing values and the y-axis description. So clearly it wasn't the type of scale.
Next, I deleted all of my previous weight entries (over 500 of them) dating back to 2012. Added a new single weight from the Aria scale and still the same problem. My next step was to delete that measurement and manually added 35 days of weight measurements. Still the same problem.
I knew this wasn't a browser or cache/cookie issue as I could see the line moving on the 30 day weight graph but just not a value and I could see a firends values without issue on thier 30 day weight graph.
This forum is filled with similar compliants but with no resolution. Frustrated, I starting digging into the code with Firefox Web Developers tools. I think I've found a smoking gun. Details are below. I think we are going to need someone from the FitBit Engineering team to address the issue.
Clearly I can see that when the graph loads, it makes the http get method call https://www.fitbit.com/graph/getGraphData to fetch the data for the 30 day weight graph. I can see the raw data for the dates and weight values are returned.
ex: "<value xid="30">Sep 03</value> ... <value xid="30" color="#33CCCC" >262.1</value>"
Then when I inspected the 30 day weight DIV and the javascript embeeded in the DOM of the profile page I see the following:
var weightGraphValuesValueEnabled = "&valuesValueEnabled=false";
var weightGraphDescEnabled = "&descEnabled=false";
new fitbit.app.AmChart("weightObject", "weightChart", "line","/graph/getGraphData?userId=XXXXXX&type=weight" +"&period=1m&dataVersion=1335&version=amchart" + dateTo + weightGraphValuesValueEnabled + weightGraphDescEnabled + linkEnabled,530, 150, true);
<DIV>...version=amchart&dateTo=2016-09-03&valuesValueEnabled=false&descEnabled=false&linkEnabled=false...</DIV>
Cleary it seems the issue is that for some reason my profile page has the vars weightGraphValuesValueEnabled and weightGraphDescEnabled set to FALSE. I checked a friends profile page and verified that TRUE was being passed in the DIV for their 30 Day Weight Chart and that was the only difference other than user and version number.
If anyone has any idea how to force the profile page dom to set weightGraphValuesValueEnabled and weightGraphDescEnabled to TRUE, that would be appreciated.
Thanks!
Moderator Edit: Format
09-03-2016 13:21
09-03-2016 13:21
Wonderful bug catching @hookem16
As it's out the hands of the most awesome community (not possible to change the code on the account ourself).
Feel free to contact the Fitbit Support Team: India | United Kingdom | United States
Optionally check out Returns & Warranty before contacting support.
Mention what you've already tried to speed things up.
09-03-2016 14:18
09-03-2016 14:18
Great work Hookem!
That's a bummer if you can't share your weight progress with your friends.
I hope they correct the bug and hopefully reward you with a bonus..... like reimbursing you for the ARIA scale you purchased just to troubleshoot their mistake.
09-03-2016 14:21
09-03-2016 14:21
@SunsetRunner Thanks for your input!
@hookem16 Welcome to the Community! I appreciate the pictures and the details that you mentioned. Thank you for bringing it to our attention, I've shared it with my team.
As an alternative solution, you can always view the weight from the weight log tab.
Hope I can continue seeing you around .
Want to get more active? Visit Get Moving in the Lifestyle Discussion Forum.
09-03-2016 14:26
09-03-2016 14:26
09-04-2016 07:02 - last edited on 11-18-2016 12:33 by LanuzaFitbit
09-04-2016 07:02 - last edited on 11-18-2016 12:33 by LanuzaFitbit
Some additional details.
It appears that for all users weightGraphValuesValueEnabled and weightGraphDescEnabled are both set to FALSE by default. However for some profiles, there is additional two lines of javascript that set both variables to TRUE.
I've found three other users that have the same problem as me and all three do not have the additional two lines of javascript to set the those two vars to TRUE.
I'm not sure why those two lines are missing. I am guessing it has something to do with a version of javascript that is being imported based on some attribute of the user profile. It looks like a patch that may have been applied at some point but not to all users.
Non Working Example:
var weightGraphValuesValueEnabled = "&valuesValueEnabled=false";
var weightGraphDescEnabled = "&descEnabled=false";
new fitbit.app.AmChart("weightObject", "weightChart", "line",
"/graph/getGraphData?userId=XXXXXX&type=weight" +
"&period=1m&dataVersion=1348&version=amchart" + dateTo + weightGraphValuesValueEnabled + weightGraphDescEnabled + linkEnabled,
530, 150, true
);
Working Example:
var weightGraphValuesValueEnabled = "&valuesValueEnabled=false";
var weightGraphDescEnabled = "&descEnabled=false";
weightGraphValuesValueEnabled = "&valuesValueEnabled=true";
weightGraphDescEnabled = "&descEnabled=true";
new fitbit.app.AmChart("weightObject", "weightChart", "line",
"/graph/getGraphData?userId=XXXXXX&type=weight" +
"&period=1m&dataVersion=7109&version=amchart" + dateTo + weightGraphValuesValueEnabled + weightGraphDescEnabled + linkEnabled,
530, 150, true
);
Moderator edit: Format
09-05-2016 07:46
09-05-2016 07:46
Thanks for sharing these screenshots and all the information about the issue you're experiencing to check your friend's data @hookem16. This has been forwarded to the correct department, thank you so much for your contribution, I'm sure this will be very helpful.
09-07-2016 21:27
09-07-2016 21:27
09-12-2016 07:23
09-12-2016 07:23
09-27-2016 11:11
09-27-2016 11:11
Hi @DavideFitbit - It has been 3 weeks since any communication about the bug I pointed out in the Web Dashboard. Can you provide an update from the Engineering team on when they think this will be resolved? As a temporary solution, can you let me know if there is a way that I can see another FitBit user's current weight?
Thanks.
09-28-2016 14:56 - edited 09-28-2016 17:58
09-28-2016 14:56 - edited 09-28-2016 17:58
Hello there @hookem16! Thanks for following up. I'd like to let you know that our engineers are working hard on a fix. These types of bugs are very unpredictable, sometimes the solution is very simple and other times the solution takes more time to develop. Thanks a million for your patience!
As an alternative solution, you can always view the weight from the weight log tab. Just out of curiosity, are you located in the US? If you are not you can try switching to the US locale and let me know how it goes!
Did you receive the answer you were looking for? Mark the post as an accepted solution! 🙂
09-28-2016 20:26
09-28-2016 20:26
@MariamV wrote:......
As an alternative solution, you can always view the weight from the weight log tab.
Hi @MariamV - I'm not sure that you are understanding the problem. This is NOT an alternative solution to the problem. That is becuase the problem is how to view a FitBit friend's weight, not how to view my own weight. Unless of course you are suggesting that FitBit users should be sharing their login and password information with their friends?
How else can I track a FitBit friend's weight loss? If the only way is through the Web Dashboard 30 Day Weight Loss graph, then what you suggested is not an alternative solution and this is still broken with no fix until the development team finishes their work.
If there is another way to view this then please let me know.
09-29-2016 05:03 - edited 05-17-2017 18:51
09-29-2016 05:03 - edited 05-17-2017 18:51
@hookem16 thanks for getting back to me! I appreciate the clarification and so sorry for the confusion here. I see what you mean now, and I'm definitely not suggesting that Fitbit users should be sharing their login and password information with friends.
This is the graph from my own Dashboard and indeed the "Y" axis is missing:
I will follow up with the devs and engineers to see where we are standing related to this issue and I'll post back with updates!
Thanks again for bringing this up to my attention!
Did you receive the answer you were looking for? Mark the post as an accepted solution! 🙂
04-09-2017 14:40
04-09-2017 14:40
I have this same issue. Could you please advise where this Javascript is located, and if it is possible to revise to add these two statements on user install end?
04-25-2017 10:16
04-25-2017 10:16
I am also having the same issue. Can't share my weight with my friends. This has already been over a year and not resolved yet. Please let us know if you guys still working on this?
05-15-2017 14:59
05-15-2017 14:59
The problem still persists. I have neither values on the Y axis nor hover tooltips with the values on the chart. So the chart is totally useless. I need it to share my weight progress with my nutritionist, please fix. Thank you.
07-14-2017 10:56
07-14-2017 10:56
How is it possible that this well known bug have not been fixed already???
Do anyone know an alternative to the fitbit app where you can share your progress with friends? The Fixbit software developer team seems to neglect reported bugs so better look elsewhere...
07-14-2017 12:46
07-14-2017 12:46
Agree, this is a bit ridiculous.
It's super important to be able to share this information with your friends or team members during weight-loss/step challenges.
Hook'em 16 identified the bug and seems like a simple fix.
Can we please have a moderator bump this thread again and send it up to the Technical Team... if there actually is one???
01-15-2018 23:55
01-15-2018 23:55
This still seems to be a problem - I am surprised it has not been fixed since the issue was raised so long ago. Do Fitbit look at these messages?
07-01-2018 17:56
07-01-2018 17:56
are there any plans to fix this bug? or perhaps migrate to a new non-flash based chart experience?