{"action":"created","issue":{"url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/36","repository_url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts","labels_url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/36/comments","events_url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/36/events","html_url":"https://github.com/Jpadilla1/react-native-ios-charts/issues/36","id":159554825,"number":36,"title":"Strange behavior in RN 0.26","user":{"login":"tuananhdn","id":1632099,"avatar_url":"https://avatars.githubusercontent.com/u/1632099?v=3","gravatar_id":"","url":"https://api.github.com/users/tuananhdn","html_url":"https://github.com/tuananhdn","followers_url":"https://api.github.com/users/tuananhdn/followers","following_url":"https://api.github.com/users/tuananhdn/following{/other_user}","gists_url":"https://api.github.com/users/tuananhdn/gists{/gist_id}","starred_url":"https://api.github.com/users/tuananhdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuananhdn/subscriptions","organizations_url":"https://api.github.com/users/tuananhdn/orgs","repos_url":"https://api.github.com/users/tuananhdn/repos","events_url":"https://api.github.com/users/tuananhdn/events{/privacy}","received_events_url":"https://api.github.com/users/tuananhdn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-10T04:01:29Z","updated_at":"2016-06-10T09:55:59Z","closed_at":null,"body":"I update the new version of charts and after that the result is: \r\n![screenshot 2016-06-10 10 42 30](https://cloud.githubusercontent.com/assets/1632099/15953819/86c0b75a-2ef9-11e6-95f6-2a55bc44c7c8.png)\r\nI cannot change background color of chart and seem other config is not working too. My code for chart is\r\n`<LineChart\r\n\t\t\t          config={{\r\n\t\t\t            dataSets: dataSet,\r\n\t\t\t            labels: label,\r\n\t\t\t            backgroundColor: 'white',\r\n\t\t\t            minOffset: 20,\r\n\t\t\t\t\t      scaleYEnabled: false,\r\n\t\t\t\t\t      legend: {\r\n\t\t\t\t\t        textSize: 12\r\n\t\t\t\t\t      },\r\n\t\t\t\t\t      xAxis: {\r\n\t\t\t\t\t        axisLineWidth: 0,\r\n\t\t\t\t\t        drawLabels: false,\r\n\t\t\t\t\t        position: 'bottom',\r\n\t\t\t\t\t        drawGridLines: false\r\n\t\t\t\t\t      },\r\n\t\t\t\t\t      leftAxis: {\r\n\t\t\t\t\t        customAxisMax: 1,\r\n\t\t\t\t\t        customAxisMin: -1,\r\n\t\t\t\t\t        labelCount: 11,\r\n\t\t\t\t\t        startAtZero: false\r\n\t\t\t\t\t      },\r\n\t\t\t\t\t      rightAxis: {\r\n\t\t\t\t\t        enabled: false,\r\n\t\t\t\t\t        drawGridLines: false\r\n\t\t\t\t\t      },\r\n\t\t\t\t\t      valueFormatter: {\r\n\t\t\t\t\t        minimumSignificantDigits: 1,\r\n\t\t\t\t\t        type: 'regular',\r\n\t\t\t\t\t        maximumDecimalPlaces: 1\r\n\t\t\t\t\t      }\r\n\t\t\t          }}\r\n\t\t\t          style={styles.chart}\r\n\t\t\t        />`\r\n\r\nand when i click to chart it show duplicate line like that:\r\n\r\n![screenshot 2016-06-10 10 42 46](https://cloud.githubusercontent.com/assets/1632099/15953867/3a0f4f2e-2efa-11e6-924d-a9448fc0be3e.png)\r\n:( Any ideas about this issue. "},"comment":{"url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/comments/225142525","html_url":"https://github.com/Jpadilla1/react-native-ios-charts/issues/36#issuecomment-225142525","issue_url":"https://api.github.com/repos/Jpadilla1/react-native-ios-charts/issues/36","id":225142525,"user":{"login":"Jpadilla1","id":3780146,"avatar_url":"https://avatars.githubusercontent.com/u/3780146?v=3","gravatar_id":"","url":"https://api.github.com/users/Jpadilla1","html_url":"https://github.com/Jpadilla1","followers_url":"https://api.github.com/users/Jpadilla1/followers","following_url":"https://api.github.com/users/Jpadilla1/following{/other_user}","gists_url":"https://api.github.com/users/Jpadilla1/gists{/gist_id}","starred_url":"https://api.github.com/users/Jpadilla1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jpadilla1/subscriptions","organizations_url":"https://api.github.com/users/Jpadilla1/orgs","repos_url":"https://api.github.com/users/Jpadilla1/repos","events_url":"https://api.github.com/users/Jpadilla1/events{/privacy}","received_events_url":"https://api.github.com/users/Jpadilla1/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T09:55:59Z","updated_at":"2016-06-10T09:55:59Z","body":"Hello! To fix the background you would have to set the background color as part of your styles instead in the config.\r\n\r\n```\r\nconst styles = StyleSheet.create({\r\n  chart: {\r\n    backgroundColor: 'white'\r\n  }\r\n});\r\n```\r\n\r\nI'll take a look at the data duplication issue"}}
{"actor":{"display_login":"Jpadilla1"}}