{"action":"created","issue":{"url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/169","repository_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts","labels_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/169/comments","events_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/169/events","html_url":"https://github.com/beto-rodriguez/Live-Charts/issues/169","id":156284989,"number":169,"title":"While I add the secondry series to the FinancialExample, it isn't displayed. ","user":{"login":"elisechiang","id":7832743,"avatar_url":"https://avatars.githubusercontent.com/u/7832743?v=3","gravatar_id":"","url":"https://api.github.com/users/elisechiang","html_url":"https://github.com/elisechiang","followers_url":"https://api.github.com/users/elisechiang/followers","following_url":"https://api.github.com/users/elisechiang/following{/other_user}","gists_url":"https://api.github.com/users/elisechiang/gists{/gist_id}","starred_url":"https://api.github.com/users/elisechiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elisechiang/subscriptions","organizations_url":"https://api.github.com/users/elisechiang/orgs","repos_url":"https://api.github.com/users/elisechiang/repos","events_url":"https://api.github.com/users/elisechiang/events{/privacy}","received_events_url":"https://api.github.com/users/elisechiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-23T13:48:21Z","updated_at":"2016-05-25T09:17:52Z","closed_at":null,"body":"While I add the secondry series to the FinancialExample, it isn't displayed. \r\n\r\n\r\n            InitializeComponent();\r\n\r\n            SeriesCollection = new SeriesCollection\r\n            {\r\n                new OhlcSeries\r\n                {\r\n                    Values = new ChartValues<OhlcPoint>\r\n                    {\r\n                        new OhlcPoint(32, 35, 30, 32),\r\n                        new OhlcPoint(33, 38, 31, 37),\r\n                        new OhlcPoint(35, 42, 30, 40),\r\n                        new OhlcPoint(37, 40, 35, 38),\r\n                        new OhlcPoint(35, 38, 32, 33)\r\n                    }\r\n                },\r\n                new LineSeries\r\n                {\r\n                    Values = new ChartValues<ObservableValue>(),\r\n                    Fill = Brushes.Transparent\r\n                }\r\n            };\r\n\r\n            //based on https://github.com/beto-rodriguez/Live-Charts/issues/166 \r\n            //The Ohcl point X property is zero based indexed.\r\n            //this means the first point is 0, second 1, third 2.... and so on\r\n            //then you can use the Axis.Labels properties to map the chart X with a label in the array.\r\n            //for more info see (mapped labels section) \r\n            //http://lvcharts.net/#/examples/v1/labels-wpf?path=WPF-Components-Labels\r\n\r\n            try\r\n            {\r\n                SeriesCollection[1].Values.Insert(2, new ObservableValue(36));\r\n                SeriesCollection[1].Values.Insert(3, new ObservableValue(37));\r\n                SeriesCollection[1].Values.Insert(4, new ObservableValue(35));\r\n            }\r\n            catch\r\n            {\r\n\r\n            }"},"comment":{"url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/comments/221518449","html_url":"https://github.com/beto-rodriguez/Live-Charts/issues/169#issuecomment-221518449","issue_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/169","id":221518449,"user":{"login":"beto-rodriguez","id":10853349,"avatar_url":"https://avatars.githubusercontent.com/u/10853349?v=3","gravatar_id":"","url":"https://api.github.com/users/beto-rodriguez","html_url":"https://github.com/beto-rodriguez","followers_url":"https://api.github.com/users/beto-rodriguez/followers","following_url":"https://api.github.com/users/beto-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/beto-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/beto-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beto-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/beto-rodriguez/orgs","repos_url":"https://api.github.com/users/beto-rodriguez/repos","events_url":"https://api.github.com/users/beto-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/beto-rodriguez/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T09:17:52Z","updated_at":"2016-05-25T09:17:52Z","body":"I see, then plot a point, so you can specify the X property too\r\n\r\nI am updating docs... to explain why this\r\n\r\n    new LineSeries\r\n            {\r\n                Values = new ChartValues<ObservablePoint>\r\n                {\r\n                    //do not add the x=0 point\r\n                    //new ObservablePoint(0,30)\r\n                    new ObservablePoint(1,30),\r\n                    new ObservablePoint(2,32),\r\n                    new ObservablePoint(3,33)\r\n                    new ObservablePoint(4,30)\r\n                },\r\n                Fill = Brushes.Transparent\r\n            }"}}
{"actor":{"display_login":"beto-rodriguez"}}