{"action":"created","issue":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/385","labels_url":"https://api.github.com/repos/n3-charts/line-chart/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/n3-charts/line-chart/issues/385/comments","events_url":"https://api.github.com/repos/n3-charts/line-chart/issues/385/events","html_url":"https://github.com/n3-charts/line-chart/issues/385","id":119301216,"number":385,"title":"Display thresholds/warning lines in line chart","user":{"login":"ulejon","id":1325281,"avatar_url":"https://avatars.githubusercontent.com/u/1325281?v=3","gravatar_id":"","url":"https://api.github.com/users/ulejon","html_url":"https://github.com/ulejon","followers_url":"https://api.github.com/users/ulejon/followers","following_url":"https://api.github.com/users/ulejon/following{/other_user}","gists_url":"https://api.github.com/users/ulejon/gists{/gist_id}","starred_url":"https://api.github.com/users/ulejon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulejon/subscriptions","organizations_url":"https://api.github.com/users/ulejon/orgs","repos_url":"https://api.github.com/users/ulejon/repos","events_url":"https://api.github.com/users/ulejon/events{/privacy}","received_events_url":"https://api.github.com/users/ulejon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/n3-charts/line-chart/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/n3-charts/line-chart/labels/will%20wait%20for%20v2","name":"will wait for v2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-28T15:25:22Z","updated_at":"2015-11-30T19:34:40Z","closed_at":null,"body":"Hi\r\n\r\nI'm wondering if there is a way of adding threshold/warning lines in the line chart?\r\nMore info on stackoverflow: http://stackoverflow.com/questions/33971306/display-thresholds-on-n3-chart"},"comment":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/comments/160735053","html_url":"https://github.com/n3-charts/line-chart/issues/385#issuecomment-160735053","issue_url":"https://api.github.com/repos/n3-charts/line-chart/issues/385","id":160735053,"user":{"login":"ulejon","id":1325281,"avatar_url":"https://avatars.githubusercontent.com/u/1325281?v=3","gravatar_id":"","url":"https://api.github.com/users/ulejon","html_url":"https://github.com/ulejon","followers_url":"https://api.github.com/users/ulejon/followers","following_url":"https://api.github.com/users/ulejon/following{/other_user}","gists_url":"https://api.github.com/users/ulejon/gists{/gist_id}","starred_url":"https://api.github.com/users/ulejon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulejon/subscriptions","organizations_url":"https://api.github.com/users/ulejon/orgs","repos_url":"https://api.github.com/users/ulejon/repos","events_url":"https://api.github.com/users/ulejon/events{/privacy}","received_events_url":"https://api.github.com/users/ulejon/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T19:34:40Z","updated_at":"2015-11-30T19:34:40Z","body":"Sounds promising!\r\n\r\nNot exactly sure how I would express it, something like this maybe, where `guideLines` would be the new option:\r\n\r\n```\r\n$scope.options = {\r\n    axes: {\r\n        y: {type: 'linear', zoomable: true, innerTicks: true, grid: true},\r\n        x: {type: \"date\"}\r\n    },\r\n    stacks: [\r\n        {\r\n            axis: \"y\",\r\n            series: [\r\n                \"id_0\"\r\n            ]\r\n        }\r\n    ],\r\n    guideLines: [\r\n        {\r\n            axis: \"y\",\r\n            value: 20,\r\n            color: \"#FFC200\",\r\n            label: \"Lower threshold\"\r\n        },\r\n        {\r\n            axis: \"y\",\r\n            value: 40,\r\n            color: \"#FF0000\",\r\n            label: \"Upper threshold\"\r\n        }\r\n    ],\r\n    lineMode: \"cardinal\",\r\n    series: [\r\n        {\r\n            id: \"id_0\",\r\n            y: \"reading\",\r\n            type: \"line\",\r\n            color: \"#1f77b4\"\r\n        }\r\n    ],\r\n    tooltip: {\r\n        mode: \"scrubber\"\r\n    }\r\n};\r\n```"}}