{"action":"created","issue":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/1742","repository_url":"https://api.github.com/repos/danielgindi/Charts","labels_url":"https://api.github.com/repos/danielgindi/Charts/issues/1742/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/Charts/issues/1742/comments","events_url":"https://api.github.com/repos/danielgindi/Charts/issues/1742/events","html_url":"https://github.com/danielgindi/Charts/issues/1742","id":186082219,"number":1742,"title":"Bars not showing bar chart","user":{"login":"sjuvvalapalem","id":19563094,"avatar_url":"https://avatars.githubusercontent.com/u/19563094?v=3","gravatar_id":"","url":"https://api.github.com/users/sjuvvalapalem","html_url":"https://github.com/sjuvvalapalem","followers_url":"https://api.github.com/users/sjuvvalapalem/followers","following_url":"https://api.github.com/users/sjuvvalapalem/following{/other_user}","gists_url":"https://api.github.com/users/sjuvvalapalem/gists{/gist_id}","starred_url":"https://api.github.com/users/sjuvvalapalem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjuvvalapalem/subscriptions","organizations_url":"https://api.github.com/users/sjuvvalapalem/orgs","repos_url":"https://api.github.com/users/sjuvvalapalem/repos","events_url":"https://api.github.com/users/sjuvvalapalem/events{/privacy}","received_events_url":"https://api.github.com/users/sjuvvalapalem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-29T14:47:46Z","updated_at":"2016-11-01T06:27:25Z","closed_at":"2016-10-31T02:37:49Z","body":"Hi,\n\nEver since upgrading to 3.0, i am having trouble with the bars not showing in the bar chart.\n\nOne bar shows when the data has only one point. If i add more than one point then the bars donot show. \nThis is happening  only when the xaxis has dates. if i change the data from dates to say integer then it works fine. \nPlease see the attached screenshots.\n\nA sample of the data would be similar to this\n{\n\"09/04/2012\":\"245\",\n\"02/05/2013\":\"227\",\n\"04/07/2013':\"234\",\n\"07/08/2015\":\"244\",\n\"10/11/2016\":\"2254\"\n}\n\nThanks,\nBob\n\n![1](https://cloud.githubusercontent.com/assets/19563094/19830369/a186f2e2-9db3-11e6-8c65-5dc3b99a6a1d.png) \n\nAs seen below i dont see the bars at all? what seems to be causing this?\n![2](https://cloud.githubusercontent.com/assets/19563094/19830371/a73cfc2c-9db3-11e6-8559-7d33a205981a.png)\n"},"comment":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/comments/257498007","html_url":"https://github.com/danielgindi/Charts/issues/1742#issuecomment-257498007","issue_url":"https://api.github.com/repos/danielgindi/Charts/issues/1742","id":257498007,"user":{"login":"sjuvvalapalem","id":19563094,"avatar_url":"https://avatars.githubusercontent.com/u/19563094?v=3","gravatar_id":"","url":"https://api.github.com/users/sjuvvalapalem","html_url":"https://github.com/sjuvvalapalem","followers_url":"https://api.github.com/users/sjuvvalapalem/followers","following_url":"https://api.github.com/users/sjuvvalapalem/following{/other_user}","gists_url":"https://api.github.com/users/sjuvvalapalem/gists{/gist_id}","starred_url":"https://api.github.com/users/sjuvvalapalem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjuvvalapalem/subscriptions","organizations_url":"https://api.github.com/users/sjuvvalapalem/orgs","repos_url":"https://api.github.com/users/sjuvvalapalem/repos","events_url":"https://api.github.com/users/sjuvvalapalem/events{/privacy}","received_events_url":"https://api.github.com/users/sjuvvalapalem/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T06:27:25Z","updated_at":"2016-11-01T06:27:25Z","body":"@liuxuan30 ,\r\nhere is what i basically tried ... I made some changes to the ChartsDemo in 3.0 and it is doing exactly the same thing...\r\n\r\nI made the following changes. instead of X value being a double, i am adding the datetime since 1970 which is the double value for the dates.\r\nchanged the xaxis formatter to a dd/MM .\r\n\r\nAlso attaching the code for the BarChartViewController.m that way you could check it.\r\n\r\nSee the screenshot below.\r\n![simulator screen shot nov 1 2016 12 22 47 am](https://cloud.githubusercontent.com/assets/19563094/19881188/5ccfe394-9fc9-11e6-8c5b-ac0724a3dc55.png)\r\n\r\n[BarChartViewController.m.zip](https://github.com/danielgindi/Charts/files/563466/BarChartViewController.m.zip)\r\n\r\nEither i am missing something very simple or this is a bug.\r\n\r\nThanks,\r\nBob\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"sjuvvalapalem"}}