{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5424","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5424/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5424/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5424/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/5424","id":89267364,"number":5424,"title":"Weekly Progress Update: XP graph","user":{"login":"ghswa","id":2931465,"avatar_url":"https://avatars.githubusercontent.com/u/2931465?v=3","gravatar_id":"","url":"https://api.github.com/users/ghswa","html_url":"https://github.com/ghswa","followers_url":"https://api.github.com/users/ghswa/followers","following_url":"https://api.github.com/users/ghswa/following{/other_user}","gists_url":"https://api.github.com/users/ghswa/gists{/gist_id}","starred_url":"https://api.github.com/users/ghswa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghswa/subscriptions","organizations_url":"https://api.github.com/users/ghswa/orgs","repos_url":"https://api.github.com/users/ghswa/repos","events_url":"https://api.github.com/users/ghswa/events{/privacy}","received_events_url":"https://api.github.com/users/ghswa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-18T11:26:06Z","updated_at":"2015-06-21T09:15:04Z","closed_at":null,"body":"![screen shot 2015-06-18 at 11 13 38](https://cloud.githubusercontent.com/assets/2931465/8229339/c50fd84e-15ad-11e5-9934-0548860eb789.png)\r\n\r\nThere are a couple of issues with this graph:\r\n- It only shows my XP change for a single day rather than the whole week\r\n- It would be better for i18n if the dates were in the form Jun 10 rather than 06/10\r\n\r\nI think the graph should show XP earned each day, rather than the absolute amount of XP earned:\r\n- Rebirths wouldn't mess the y-axis up and make the graph unreadable (my rebirth was only from level 25)\r\n- Direct comparisons could be made to previous weeks. It might be interesting to plot \"last week\" and \"this week\".\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22379911-weekly-progress-update-xp-graph?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/113879440","html_url":"https://github.com/HabitRPG/habitrpg/issues/5424#issuecomment-113879440","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5424","id":113879440,"user":{"login":"paglias","id":589911,"avatar_url":"https://avatars.githubusercontent.com/u/589911?v=3","gravatar_id":"","url":"https://api.github.com/users/paglias","html_url":"https://github.com/paglias","followers_url":"https://api.github.com/users/paglias/followers","following_url":"https://api.github.com/users/paglias/following{/other_user}","gists_url":"https://api.github.com/users/paglias/gists{/gist_id}","starred_url":"https://api.github.com/users/paglias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paglias/subscriptions","organizations_url":"https://api.github.com/users/paglias/orgs","repos_url":"https://api.github.com/users/paglias/repos","events_url":"https://api.github.com/users/paglias/events{/privacy}","received_events_url":"https://api.github.com/users/paglias/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T09:15:04Z","updated_at":"2015-06-21T09:15:04Z","body":"@ghswa sorry for the delay in the answer. The way the graph is built it done taking the last week values for experience history from the db. Unfortunately it seems that rebirth is doing some operation on those values that cause them to appear in that strange format on the graph. You should get another email in less than 7 days, if the problem persist, let me know.\r\n\r\nA normal graph will be like this one:\r\n\r\n![selezione_036](https://cloud.githubusercontent.com/assets/589911/8271117/6a4e1910-1806-11e5-9141-8787773b7298.jpg)\r\n\r\nRegarding i18n dates, I just want to be sure that a longer format like `Jun 10` won't cause dates to overlap when there are more values in the graph.\r\n\r\nAnd finally, regarding comparison to last week: it would be a very cool feature but unfortunately we compress values in the db after some time or they would grow too much and kill our database. We're in the middle of an overhaul and this might be possible in the future but now it isn't.\r\n\r\nThanks"}}