{"action":"created","issue":{"url":"https://api.github.com/repos/epochjs/epoch/issues/198","labels_url":"https://api.github.com/repos/epochjs/epoch/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/epochjs/epoch/issues/198/comments","events_url":"https://api.github.com/repos/epochjs/epoch/issues/198/events","html_url":"https://github.com/epochjs/epoch/pull/198","id":110183520,"number":198,"title":"Closes #157; Add Multiaxis Support","user":{"login":"rsandor","id":146592,"avatar_url":"https://avatars.githubusercontent.com/u/146592?v=3","gravatar_id":"","url":"https://api.github.com/users/rsandor","html_url":"https://github.com/rsandor","followers_url":"https://api.github.com/users/rsandor/followers","following_url":"https://api.github.com/users/rsandor/following{/other_user}","gists_url":"https://api.github.com/users/rsandor/gists{/gist_id}","starred_url":"https://api.github.com/users/rsandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsandor/subscriptions","organizations_url":"https://api.github.com/users/rsandor/orgs","repos_url":"https://api.github.com/users/rsandor/repos","events_url":"https://api.github.com/users/rsandor/events{/privacy}","received_events_url":"https://api.github.com/users/rsandor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/epochjs/epoch/labels/needs%20testing","name":"needs testing","color":"eb6420"},{"url":"https://api.github.com/repos/epochjs/epoch/labels/work%20in%20progress","name":"work in progress","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-07T09:17:10Z","updated_at":"2015-10-07T12:19:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/epochjs/epoch/pulls/198","html_url":"https://github.com/epochjs/epoch/pull/198","diff_url":"https://github.com/epochjs/epoch/pull/198.diff","patch_url":"https://github.com/epochjs/epoch/pull/198.patch"},"body":"## Description\r\n<img width=\"610\" alt=\"screen shot 2015-10-07 at 2 20 10 am\" src=\"https://cloud.githubusercontent.com/assets/146592/10333623/09671c62-6c9a-11e5-9aa6-178cc1829508.png\">\r\n\r\nThis adds left/right  multiaxis support to all real-time plots, and specific support for the real-time line chart. We abstract the `range` option to allow the programmer to supply a `left` and `right` range if they so desire.\r\n\r\n## TODO \r\n- [ ] Add Unit Tests for `Epoch.Time.Plot`\r\n- [ ] Add Unit Tests for `Epoch.Time.Line`\r\n\r\n## Code Example\r\n```js\r\n// Specifiy the left and right ranges\r\nvar leftRange = [0, 100];\r\nvar rightRange = [-10, 10];\r\n\r\n// Setup two series, each using a different range\r\nvar data = [\r\n  {\r\n    label: 'Left Ranged Series',\r\n    values: [\r\n      { time: 0, y: 0 },\r\n      { time: 1, y: 10 },\r\n      { time: 2, y: 99 },\r\n      ...\r\n    ],\r\n    // This is how your tell a layer to use a specific range...\r\n    range: leftRange\r\n  },\r\n  {\r\n    label: 'Right Ranged Series',\r\n    values: [\r\n      { time: 0, y: -9.8 },\r\n      { time: 1, y: 2.4 },\r\n      { time: 2, y: -0.5 },\r\n      ...\r\n    ],\r\n    // Again, we must define the range for this particular series...\r\n    range: rightRange\r\n  }\r\n];\r\n\r\n// Create the real-time line plot with two ranges\r\nvar chart = new Epoch.Time.Line({\r\n  range: {\r\n    left: leftRange,\r\n    right: rightRange\r\n  },\r\n  data: data,\r\n  axes: ['left', 'right', 'bottom']\r\n});\r\n```\r\n\r\n**Note:** all real-time plots can define multiaxes, but they only have an effect in the real-time line chart at this time."},"comment":{"url":"https://api.github.com/repos/epochjs/epoch/issues/comments/146179710","html_url":"https://github.com/epochjs/epoch/pull/198#issuecomment-146179710","issue_url":"https://api.github.com/repos/epochjs/epoch/issues/198","id":146179710,"user":{"login":"rca","id":53537,"avatar_url":"https://avatars.githubusercontent.com/u/53537?v=3","gravatar_id":"","url":"https://api.github.com/users/rca","html_url":"https://github.com/rca","followers_url":"https://api.github.com/users/rca/followers","following_url":"https://api.github.com/users/rca/following{/other_user}","gists_url":"https://api.github.com/users/rca/gists{/gist_id}","starred_url":"https://api.github.com/users/rca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rca/subscriptions","organizations_url":"https://api.github.com/users/rca/orgs","repos_url":"https://api.github.com/users/rca/repos","events_url":"https://api.github.com/users/rca/events{/privacy}","received_events_url":"https://api.github.com/users/rca/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T12:19:00Z","updated_at":"2015-10-07T12:19:00Z","body":"Also, with respect to fixed vs. dynamic ranges, would it be possible to reconfigure the range when data is being updated?"}}