{"action":"created","issue":{"url":"https://api.github.com/repos/uber/react-vis/issues/780","repository_url":"https://api.github.com/repos/uber/react-vis","labels_url":"https://api.github.com/repos/uber/react-vis/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/uber/react-vis/issues/780/comments","events_url":"https://api.github.com/repos/uber/react-vis/issues/780/events","html_url":"https://github.com/uber/react-vis/issues/780","id":313953188,"number":780,"title":"Add PlotBands as series","user":{"login":"KamalAman","id":2692357,"avatar_url":"https://avatars1.githubusercontent.com/u/2692357?v=4","gravatar_id":"","url":"https://api.github.com/users/KamalAman","html_url":"https://github.com/KamalAman","followers_url":"https://api.github.com/users/KamalAman/followers","following_url":"https://api.github.com/users/KamalAman/following{/other_user}","gists_url":"https://api.github.com/users/KamalAman/gists{/gist_id}","starred_url":"https://api.github.com/users/KamalAman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamalAman/subscriptions","organizations_url":"https://api.github.com/users/KamalAman/orgs","repos_url":"https://api.github.com/users/KamalAman/repos","events_url":"https://api.github.com/users/KamalAman/events{/privacy}","received_events_url":"https://api.github.com/users/KamalAman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-13T02:58:16Z","updated_at":"2018-04-13T17:52:00Z","closed_at":null,"author_association":"NONE","body":"What would be the best way to add PlotBands as a series to a chart. The colored bars in the example below are X plot bands\r\n\r\n<img width=\"458\" alt=\"screen shot 2018-04-12 at 10 40 40 pm\" src=\"https://user-images.githubusercontent.com/2692357/38714106-adf2f120-3ea2-11e8-98fa-5b2ab9e3a695.png\">\r\n\r\nPlotBands have a and x1 and x2 value and consume all y over the range, unless otherwise specified. (or vise versa) \r\n\r\nI think it would be very similar to a mark-series.  "},"comment":{"url":"https://api.github.com/repos/uber/react-vis/issues/comments/381213206","html_url":"https://github.com/uber/react-vis/issues/780#issuecomment-381213206","issue_url":"https://api.github.com/repos/uber/react-vis/issues/780","id":381213206,"user":{"login":"mcnuttandrew","id":6854312,"avatar_url":"https://avatars1.githubusercontent.com/u/6854312?v=4","gravatar_id":"","url":"https://api.github.com/users/mcnuttandrew","html_url":"https://github.com/mcnuttandrew","followers_url":"https://api.github.com/users/mcnuttandrew/followers","following_url":"https://api.github.com/users/mcnuttandrew/following{/other_user}","gists_url":"https://api.github.com/users/mcnuttandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/mcnuttandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcnuttandrew/subscriptions","organizations_url":"https://api.github.com/users/mcnuttandrew/orgs","repos_url":"https://api.github.com/users/mcnuttandrew/repos","events_url":"https://api.github.com/users/mcnuttandrew/events{/privacy}","received_events_url":"https://api.github.com/users/mcnuttandrew/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T17:52:00Z","updated_at":"2018-04-13T17:52:00Z","author_association":"COLLABORATOR","body":"I think the best way to do this would either be through \r\n- the use Polygon Series (https://uber.github.io/react-vis/documentation/series-reference/polygon-series), where you specify data like [{x: startTime, y: 0}, {x: endTime, y: 0}, {x: endTime, y: maxVal}, {x: startTime, y: maxVal}]. \r\n- using a rect series (https://uber.github.io/react-vis/documentation/series-reference/rect-series), which would have data like [{x0: startTime, x: endTime, y: maxVal}]."}}
{"actor":{"display_login":"mcnuttandrew"}}