{"action":"created","issue":{"url":"https://api.github.com/repos/oxyplot/oxyplot/issues/623","labels_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/623/comments","events_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/623/events","html_url":"https://github.com/oxyplot/oxyplot/issues/623","id":111430926,"number":623,"title":"Candle overlap each candle","user":{"login":"lex2","id":15126855,"avatar_url":"https://avatars.githubusercontent.com/u/15126855?v=3","gravatar_id":"","url":"https://api.github.com/users/lex2","html_url":"https://github.com/lex2","followers_url":"https://api.github.com/users/lex2/followers","following_url":"https://api.github.com/users/lex2/following{/other_user}","gists_url":"https://api.github.com/users/lex2/gists{/gist_id}","starred_url":"https://api.github.com/users/lex2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex2/subscriptions","organizations_url":"https://api.github.com/users/lex2/orgs","repos_url":"https://api.github.com/users/lex2/repos","events_url":"https://api.github.com/users/lex2/events{/privacy}","received_events_url":"https://api.github.com/users/lex2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/help-wanted","name":"help-wanted","color":"000000"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/need-more-info","name":"need-more-info","color":"e11d21"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/series","name":"series","color":"bfe5bf"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/unconfirmed-bug","name":"unconfirmed-bug","color":"e11d21"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/you-take-it","name":"you-take-it","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-14T16:00:25Z","updated_at":"2015-10-20T11:29:37Z","closed_at":null,"body":"When reducing charts the candle begins to overlap another candle.\r\n\r\nFor example\r\n1\r\n![Image ](http://f3.s.qip.ru/twYEFNbA.png)\r\n\r\n2\r\n![Image ](http://f5.s.qip.ru/twYEFNbB.png)\r\n\r\nAxises\r\n```\r\nDateTimeAxis timeSPanAxis1 = new DateTimeAxis()\r\n            {\r\n                Position = AxisPosition.Bottom,\r\n                MinorIntervalType = DateTimeIntervalType.Auto,\r\n                MajorGridlineStyle = LineStyle.Dot,\r\n                MinorGridlineStyle = LineStyle.Dot,\r\n                MajorGridlineColor = OxyColor.FromRgb(44, 44, 44),\r\n                TicklineColor = OxyColor.FromRgb(82, 82, 82)\r\n            };\r\n            PlotModel.Axes.Add(timeSPanAxis1);\r\n\r\n            LinearAxis linearAxis1 = new LinearAxis()\r\n            {\r\n                Position = AxisPosition.Right,\r\n\r\n                MajorGridlineStyle = LineStyle.Dot,\r\n                MinorGridlineStyle = LineStyle.Dot,\r\n                MajorGridlineColor = OxyColor.FromRgb(44, 44, 44),\r\n                TicklineColor = OxyColor.FromRgb(82, 82, 82)\r\n            };\r\n            PlotModel.Axes.Add(linearAxis1);\r\n```\r\n\r\nand candle stick series\r\n```\r\nCandleStickSeries candle = new CandleStickSeries()\r\n            {\r\n                Color = OxyColors.Black,\r\n                IncreasingColor = OxyColor.FromRgb(0,197,49),\r\n                DecreasingColor = OxyColor.FromRgb(255,95,95),\r\n                DataFieldX = \"Time\",\r\n                DataFieldHigh = \"H\",\r\n                DataFieldLow = \"L\",\r\n                DataFieldClose = \"C\",\r\n                DataFieldOpen = \"O\",\r\n                TrackerFormatString = \"Date: {2}\\nOpen: {5:0.00000}\\nHigh: {3:0.00000}\\nLow: {4:0.00000}\\nClose: {6:0.00000}\",\r\n                \r\n            }; \r\n```\r\n\r\nWhy is this happening? How to fix it?"},"comment":{"url":"https://api.github.com/repos/oxyplot/oxyplot/issues/comments/149533282","html_url":"https://github.com/oxyplot/oxyplot/issues/623#issuecomment-149533282","issue_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/623","id":149533282,"user":{"login":"lex2","id":15126855,"avatar_url":"https://avatars.githubusercontent.com/u/15126855?v=3","gravatar_id":"","url":"https://api.github.com/users/lex2","html_url":"https://github.com/lex2","followers_url":"https://api.github.com/users/lex2/followers","following_url":"https://api.github.com/users/lex2/following{/other_user}","gists_url":"https://api.github.com/users/lex2/gists{/gist_id}","starred_url":"https://api.github.com/users/lex2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex2/subscriptions","organizations_url":"https://api.github.com/users/lex2/orgs","repos_url":"https://api.github.com/users/lex2/repos","events_url":"https://api.github.com/users/lex2/events{/privacy}","received_events_url":"https://api.github.com/users/lex2/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T11:29:37Z","updated_at":"2015-10-20T11:29:37Z","body":"   ```\r\n     [Example(\"Untitled\")]\r\n        public static PlotModel Untitled()\r\n        {\r\n            var plotModel1 = new PlotModel();\r\n            plotModel1.Background = OxyColor.FromArgb(255, 26, 26, 26);\r\n            plotModel1.PlotAreaBorderColor = OxyColor.FromArgb(255, 82, 82, 82);\r\n            plotModel1.TextColor = OxyColor.FromArgb(255, 204, 204, 204);\r\n            var dateTimeAxis1 = new DateTimeAxis();\r\n            dateTimeAxis1.MinorIntervalType = DateTimeIntervalType.Minutes;\r\n            dateTimeAxis1.MajorGridlineColor = OxyColor.FromArgb(255, 44, 44, 44);\r\n            dateTimeAxis1.MajorGridlineStyle = LineStyle.Dot;\r\n            dateTimeAxis1.Maximum = 42293.6875;\r\n            dateTimeAxis1.Minimum = 42293.375;\r\n            dateTimeAxis1.MinorGridlineStyle = LineStyle.Dot;\r\n            dateTimeAxis1.TicklineColor = OxyColor.FromArgb(255, 82, 82, 82);\r\n            plotModel1.Axes.Add(dateTimeAxis1);\r\n            var linearAxis1 = new LinearAxis();\r\n            linearAxis1.MajorGridlineColor = OxyColor.FromArgb(255, 44, 44, 44);\r\n            linearAxis1.MajorGridlineStyle = LineStyle.Dot;\r\n            linearAxis1.MinorGridlineStyle = LineStyle.Dot;\r\n            linearAxis1.Position = AxisPosition.Right;\r\n            linearAxis1.TicklineColor = OxyColor.FromArgb(255, 82, 82, 82);\r\n            plotModel1.Axes.Add(linearAxis1);\r\n            var candleStickSeries1 = new CandleStickSeries();\r\n            candleStickSeries1.IncreasingColor = OxyColor.FromArgb(255, 0, 197, 49);\r\n            candleStickSeries1.DecreasingColor = OxyColor.FromArgb(255, 255, 95, 95);\r\n            candleStickSeries1.DataFieldClose = \"C\";\r\n            candleStickSeries1.DataFieldHigh = \"H\";\r\n            candleStickSeries1.DataFieldLow = \"L\";\r\n            candleStickSeries1.DataFieldOpen = \"O\";\r\n            candleStickSeries1.DataFieldX = \"Time\";\r\n            candleStickSeries1.TrackerFormatString = \"Date: {2}\\nOpen: {5:0.00000}\\nHigh: {3:0.00000}\\nLow: {4:0.00000}\\nClose: {6:0.00000}\";\r\n            plotModel1.Series.Add(candleStickSeries1);\r\n            return plotModel1;\r\n        }\r\n```"}}