{"action":"created","issue":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/421","repository_url":"https://api.github.com/repos/n3-charts/line-chart","labels_url":"https://api.github.com/repos/n3-charts/line-chart/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/n3-charts/line-chart/issues/421/comments","events_url":"https://api.github.com/repos/n3-charts/line-chart/issues/421/events","html_url":"https://github.com/n3-charts/line-chart/issues/421","id":131080732,"number":421,"title":"How to combine two different series types in one chart in V2","user":{"login":"samwzm","id":16883629,"avatar_url":"https://avatars.githubusercontent.com/u/16883629?v=3","gravatar_id":"","url":"https://api.github.com/users/samwzm","html_url":"https://github.com/samwzm","followers_url":"https://api.github.com/users/samwzm/followers","following_url":"https://api.github.com/users/samwzm/following{/other_user}","gists_url":"https://api.github.com/users/samwzm/gists{/gist_id}","starred_url":"https://api.github.com/users/samwzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwzm/subscriptions","organizations_url":"https://api.github.com/users/samwzm/orgs","repos_url":"https://api.github.com/users/samwzm/repos","events_url":"https://api.github.com/users/samwzm/events{/privacy}","received_events_url":"https://api.github.com/users/samwzm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T16:40:40Z","updated_at":"2016-02-04T14:54:43Z","closed_at":null,"body":"Hi, there,\r\n\r\nin V2, I want to combine two different series types. I tried below code without success. could anyone share an example? by the way, the two y axis have different value (for example, one is to show price, and another is to show position).\r\n\r\nthanks!\r\n\r\nbelow is my controller:\r\n\r\n                    $scope.combinoptions = {\r\n                        \t\r\n                            series: [\r\n                                {\r\n                                    axis: \"y\",\r\n                                    dataset: \"dataset1\",\r\n                                    key: \"price\",\r\n                                    label: \"price series\",\r\n                                    color: \"#1f77b4\",\r\n                                    type: ['line', 'dot'],\r\n                                    id: 'mySeries0',\r\n                                 },\r\n                                {\r\n                                    axis: \"y\",\r\n                                    dataset: \"dataset1\",\r\n                                    key: \"position\",\r\n                                    label: \"position series\",\r\n                                    color: \"#d62728\",\r\n                                    type: ['line', 'dot'],\r\n                                    id: 'mySeries1',\r\n                                    interpolation: {mode: 'step-after'}\r\n                                }\r\n                                \r\n                            ],\r\n                            margin: {\r\n                            \ttop: 40,\r\n                                bottom: 40,\r\n                                right: 80\r\n                              },\r\n                              hideOverflow: true,\r\n\r\n                            axes: {x: {key: 'time', zoomable: true}}\r\n                            \r\n                        };\r\n"},"comment":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/comments/179881642","html_url":"https://github.com/n3-charts/line-chart/issues/421#issuecomment-179881642","issue_url":"https://api.github.com/repos/n3-charts/line-chart/issues/421","id":179881642,"user":{"login":"chaosmail","id":2969388,"avatar_url":"https://avatars.githubusercontent.com/u/2969388?v=3","gravatar_id":"","url":"https://api.github.com/users/chaosmail","html_url":"https://github.com/chaosmail","followers_url":"https://api.github.com/users/chaosmail/followers","following_url":"https://api.github.com/users/chaosmail/following{/other_user}","gists_url":"https://api.github.com/users/chaosmail/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosmail/subscriptions","organizations_url":"https://api.github.com/users/chaosmail/orgs","repos_url":"https://api.github.com/users/chaosmail/repos","events_url":"https://api.github.com/users/chaosmail/events{/privacy}","received_events_url":"https://api.github.com/users/chaosmail/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T14:54:43Z","updated_at":"2016-02-04T14:54:43Z","body":"Hi @samwzm \r\nwhat do you need exactly? You are saying `different series`.. do you mean different types (use ` type: ['line', 'dot']` option) or different interpolations (use `interpolation: {mode: 'step-after'}` option).\r\nBest,\r\nChristoph"}}