{"action":"opened","issue":{"url":"https://api.github.com/repos/ArthurGuibert/FSLineChart/issues/30","repository_url":"https://api.github.com/repos/ArthurGuibert/FSLineChart","labels_url":"https://api.github.com/repos/ArthurGuibert/FSLineChart/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ArthurGuibert/FSLineChart/issues/30/comments","events_url":"https://api.github.com/repos/ArthurGuibert/FSLineChart/issues/30/events","html_url":"https://github.com/ArthurGuibert/FSLineChart/issues/30","id":156421032,"number":30,"title":"months(labelForIndex) can't be two objects?","user":{"login":"sp55","id":10054434,"avatar_url":"https://avatars.githubusercontent.com/u/10054434?v=3","gravatar_id":"","url":"https://api.github.com/users/sp55","html_url":"https://github.com/sp55","followers_url":"https://api.github.com/users/sp55/followers","following_url":"https://api.github.com/users/sp55/following{/other_user}","gists_url":"https://api.github.com/users/sp55/gists{/gist_id}","starred_url":"https://api.github.com/users/sp55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp55/subscriptions","organizations_url":"https://api.github.com/users/sp55/orgs","repos_url":"https://api.github.com/users/sp55/repos","events_url":"https://api.github.com/users/sp55/events{/privacy}","received_events_url":"https://api.github.com/users/sp55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-24T05:10:34Z","updated_at":"2016-05-24T05:10:34Z","closed_at":null,"body":"- (void)loadChartWithDates {\r\n \r\n    \r\n    NSArray *chartData=@[@\"78\",@\"23\"];\r\n    \r\n    NSArray* months = @[@\"2016-05-23\", @\"2016-05-24\"];\r\n    \r\n    // Setting up the line chart\r\n    _chartWithDates.verticalGridStep = 6;\r\n    _chartWithDates.horizontalGridStep = 3;\r\n    _chartWithDates.fillColor = nil;\r\n    _chartWithDates.displayDataPoint = YES;\r\n    _chartWithDates.dataPointColor = [UIColor fsOrange];\r\n    _chartWithDates.dataPointBackgroundColor = [UIColor fsOrange];\r\n    _chartWithDates.dataPointRadius = 2;\r\n    _chartWithDates.color = [_chartWithDates.dataPointColor colorWithAlphaComponent:0.3];\r\n    _chartWithDates.valueLabelPosition = ValueLabelLeftMirrored;\r\n    \r\n    _chartWithDates.labelForIndex = ^(NSUInteger item) {\r\n        return months[item];\r\n    };\r\n    \r\n    _chartWithDates.labelForValue = ^(CGFloat value) {\r\n        return [NSString stringWithFormat:@\"%.f\", value];\r\n    };\r\n    \r\n    [_chartWithDates setChartData:chartData];\r\n}\r\n\r\n\r\n\r\nif    NSArray *chartData=@[@\"78\",@\"23\"];     NSArray* months = @[@\"2016-05-23\", @\"2016-05-24\"];\r\nthe second object  2016-05-24 can't be load ?\r\nwhy?\r\n    "}}
{"actor":{"display_login":"sp55"}}