Myfitnesspal Reports with iIteractive Graphs

Hey all,

So I got a little tired of the default graphs that are shown in the reports section. So I built my own handy bookmarklet, which at a click of a button, shows me much interactive graphs, to zoom in on all your data so you can see much more information.

I found it really helpful, so I thought I'd share with everyone else.

sendsteven.com/2013/02/03/myfitnesspal-reports-bookmarklet/

Edit:

Images
after2.png

Edit 2:
This project is free to use and the code is online for all to see. (For the fellow geeks out there)
https://github.com/stevenirby/myfitnesspal-reports#myfitnesspal-reports

It may take a minute or so to load all the data, and I did not test this in IE only Chrome and Firefox browsers.

Replies

  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Neat idea!

    It doesn't seem to work in Chrome 24 though
  • kilroy123
    kilroy123 Posts: 7 Member
    Uh oh really? Does anything load? I'm using the same browser, and everything seems to work in chrome and Firefox.
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    And Chrome needed an update and now it does.

    It just stuck on the spinner the last couple times.

    Now it's good - and VERY cool.
  • kilroy123
    kilroy123 Posts: 7 Member
    Yeah, it can take a little while to load the data, but it shouldn't take more than a minute or two.
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    That's really cool... I like the zoom.
  • kilroy123
    kilroy123 Posts: 7 Member
    Thank you. :)

    You can also click on a date to see your diary entry for that day, but only when not in zooming mode.
  • 77tes
    77tes Posts: 8,507 Member
    Bump
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Bump
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Bump - It's been a couple months and this is still awesome.
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Bump - still awesome...
  • deadwax
    deadwax Posts: 27
    I cannot get this to run for me in FF. :/
  • this is brilliant - thanks.
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Bump - It's been a couple months.
  • kathleennf
    kathleennf Posts: 606 Member
    bookmarking :drinker:
  • willdob3
    willdob3 Posts: 640 Member
    Great idea but it is not working for me. I have Chrome 29 - most current version. When I click on the saved bookmarklet button it just takes me to http://jsfiddle.net/6zHWg/ Am I missing something?
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Did you drag the link into your bookmark toolbar?

    Not sure where the jsfiddle connection would come from - maybe you have something setup in your browser for that?

    You could just create a bookmark to:

    javascript:(function(){function addScript(src,cb){var script=document.createElement('script');script.src=src;document.documentElement.appendChild(script);}addScript('http://raw.github.com/stevenirby/myfitnesspal-reports/master/nutrition.js');})();
  • willdob3
    willdob3 Posts: 640 Member
    Thanks. I had copy/pasted instead of dragging & that made the difference. I dragged it & got the correct page. It is slow to respond & I get a pop-up that the page is unresponsive but it eventually shows the information.

    Very cool to see these two combined.

    This confirms that my body loses fat best when I eat more calories as opposed to very low. Combining eating enough with getting enough sleep on a regular basis results in an even better loss. The chart doesn't show the sleep but I track that with an app.

    I really like seeing the average of everything over time, too. It makes it easier to see where improvements can be made.
  • sympha01
    sympha01 Posts: 942 Member
    You could just create a bookmark to:

    javascript:(function(){function addScript(src,cb){var script=document.createElement('script');script.src=src;document.documentElement.appendChild(script);}addScript('http://raw.github.com/stevenirby/myfitnesspal-reports/master/nutrition.js');})();

    Thanks! This worked!
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Very glad it's working for you both!

    Yes! The averages are super-useful. Vitamins, macros, calories, workout minutes, etc - lots of these are more useful and interesting to me when displayed as a average over a specified period of time.

    kilroy123 has really made a very useful tool.
  • cajuntank
    cajuntank Posts: 924 Member
    Bump
  • retirehappy
    retirehappy Posts: 4,757 Member
    Hey all,

    So I got a little tired of the default graphs that are shown in the reports section. So I built my own handy bookmarklet, which at a click of a button, shows me much interactive graphs, to zoom in on all your data so you can see much more information.

    I found it really helpful, so I thought I'd share with everyone else.

    sendsteven.com/2013/02/03/myfitnesspal-reports-bookmarklet/

    It may take a minute or so to load all the data, and I did not test this in IE only Chrome and Firefox browsers.

    Hi
    I dragged and dropped from the site, to my FF browser, it came up with a page about waiting a few mins. I went off for over an hour and when I returned it was still just clocking also had a message about loading tweets with the blue Tweeter bird icon (very faint)?

    Any ideas about why that would be up there, and why after dragging and dropping, not cut and pasting, it didn't work? FF is ver. 23.0.1 and my pc runs on Win8 Pro,if that matters for this sort of thing.
  • Bejede
    Bejede Posts: 191 Member
    Bump!
  • Debbie_Ferr
    Debbie_Ferr Posts: 582 Member
    bump
  • lookatbigern82
    lookatbigern82 Posts: 12 Member
    bump
  • JUDDDing
    JUDDDing Posts: 1,367 Member
    Bump
  • katmeis1500
    katmeis1500 Posts: 5 Member
    bump