{"comment":{"created_at":"2011-10-10T11:46:34Z","body":"I would find this very useful too.","updated_at":"2011-10-10T11:46:34Z","url":"https://api.github.com/repos/stumbleupon/opentsdb/issues/comments/2346519","id":2346519,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b778d6629c683e80b52c5de444414fa6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/dowski","id":49853,"login":"dowski"}},"action":"created","issue":{"number":54,"created_at":"2011-05-04T17:56:30Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Main feature: Often when I look at a graph I want to do something like compare the current graph with the same period 1 day/week/month/year ago to either compare growth, look for patterns, see whether the graph I'm looking at shows abnormal behaviour, ...\r\n\r\nIt should probably work similarly to the tags on the UI--when you fill in one period to compare, it creates another box where you can add a second period. There would be two fields: one for the period and one for the count (the \"1\" in my basic description).\r\n\r\nI'm not sure anything less than \"day\" is useful, but I guess it depends on the graphs people look at.\r\n\r\nSupplementary feature: Possibly less useful, but probably easy to implement while doing the above, is being able to easily select multiple <n> so you could compare a graph for today with the same graph 1 week ago, 2 weeks ago, ... If you select \"7\" \"days\" you get 7 comparison overlays with the same graph for each day while if you choose \"1\" \"weeks\" you get one comparison overlay, being the same graph 1 week ago.\r\n\r\nMaybe from a UI minimalist perspective this would be a checkbox \"repeat\" (default off) that changes the interpretation of the fields for period and count?","comments":1,"title":"Add a \"compare with <n> <period> ago\" feature to the UI","updated_at":"2011-10-10T11:46:34Z","url":"https://api.github.com/repos/stumbleupon/opentsdb/issues/54","id":849899,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/bc8053f5720550e6de575679c0ea6bda?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Topolino","id":513473,"login":"Topolino"},"html_url":"https://github.com/stumbleupon/opentsdb/issues/54","labels":[{"name":"feature request","url":"https://api.github.com/repos/stumbleupon/opentsdb/labels/feature+request","color":"c1ff8f"},{"name":"medium","url":"https://api.github.com/repos/stumbleupon/opentsdb/labels/medium","color":"01A0D0"}],"state":"open"},"legacy":{"issue_id":849899,"comment_id":2346519}}