{"action":"created","issue":{"url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/1025","repository_url":"https://api.github.com/repos/MilosKozak/AndroidAPS","labels_url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/1025/labels{/name}","comments_url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/1025/comments","events_url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/1025/events","html_url":"https://github.com/MilosKozak/AndroidAPS/pull/1025","id":320617969,"number":1025,"title":"Allow showing 3 hour overview charts","user":{"login":"MarkMpn","id":31017244,"avatar_url":"https://avatars1.githubusercontent.com/u/31017244?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkMpn","html_url":"https://github.com/MarkMpn","followers_url":"https://api.github.com/users/MarkMpn/followers","following_url":"https://api.github.com/users/MarkMpn/following{/other_user}","gists_url":"https://api.github.com/users/MarkMpn/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkMpn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkMpn/subscriptions","organizations_url":"https://api.github.com/users/MarkMpn/orgs","repos_url":"https://api.github.com/users/MarkMpn/repos","events_url":"https://api.github.com/users/MarkMpn/events{/privacy}","received_events_url":"https://api.github.com/users/MarkMpn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-06T18:51:47Z","updated_at":"2018-05-08T21:25:35Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/MilosKozak/AndroidAPS/pulls/1025","html_url":"https://github.com/MilosKozak/AndroidAPS/pull/1025","diff_url":"https://github.com/MilosKozak/AndroidAPS/pull/1025.diff","patch_url":"https://github.com/MilosKozak/AndroidAPS/pull/1025.patch"},"body":"X-axis labels on the overview chart can be misleading at the moment as only the hour part is shown, but the line can be on a half-hour. Some intervals can then seem to be 1 hour while the next one looks like 2 hours.\r\n\r\nThis change keeps the shorter `HH` format where possible and extends out to `HH:30` where it falls on a half hour.\r\n\r\nWithout this change the chart below is labelled `13 14 16 17 19 20 22`\r\n\r\n![screenshot_20180506-194855](https://user-images.githubusercontent.com/31017244/39676673-9f04219e-5166-11e8-83e1-739713c7625a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/comments/387547444","html_url":"https://github.com/MilosKozak/AndroidAPS/pull/1025#issuecomment-387547444","issue_url":"https://api.github.com/repos/MilosKozak/AndroidAPS/issues/1025","id":387547444,"user":{"login":"MilosKozak","id":11146458,"avatar_url":"https://avatars3.githubusercontent.com/u/11146458?v=4","gravatar_id":"","url":"https://api.github.com/users/MilosKozak","html_url":"https://github.com/MilosKozak","followers_url":"https://api.github.com/users/MilosKozak/followers","following_url":"https://api.github.com/users/MilosKozak/following{/other_user}","gists_url":"https://api.github.com/users/MilosKozak/gists{/gist_id}","starred_url":"https://api.github.com/users/MilosKozak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilosKozak/subscriptions","organizations_url":"https://api.github.com/users/MilosKozak/orgs","repos_url":"https://api.github.com/users/MilosKozak/repos","events_url":"https://api.github.com/users/MilosKozak/events{/privacy}","received_events_url":"https://api.github.com/users/MilosKozak/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T21:25:35Z","updated_at":"2018-05-08T21:25:35Z","author_association":"OWNER","body":"i've never seen time like 20:30"}}
{"actor":{"display_login":"MilosKozak"}}