{"action":"created","issue":{"url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/81","repository_url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts","labels_url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/81/comments","events_url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/81/events","html_url":"https://github.com/JesperLekland/react-native-svg-charts/issues/81","id":303127238,"number":81,"title":"Error while updating property 'd' in shadow node","user":{"login":"dineshmm23","id":22963956,"avatar_url":"https://avatars1.githubusercontent.com/u/22963956?v=4","gravatar_id":"","url":"https://api.github.com/users/dineshmm23","html_url":"https://github.com/dineshmm23","followers_url":"https://api.github.com/users/dineshmm23/followers","following_url":"https://api.github.com/users/dineshmm23/following{/other_user}","gists_url":"https://api.github.com/users/dineshmm23/gists{/gist_id}","starred_url":"https://api.github.com/users/dineshmm23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dineshmm23/subscriptions","organizations_url":"https://api.github.com/users/dineshmm23/orgs","repos_url":"https://api.github.com/users/dineshmm23/repos","events_url":"https://api.github.com/users/dineshmm23/events{/privacy}","received_events_url":"https://api.github.com/users/dineshmm23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-07T14:48:46Z","updated_at":"2018-03-08T08:33:07Z","closed_at":null,"author_association":"NONE","body":"### What is the problem?\r\nUnable to set the value of barchart to 0 which causes me to give below error.\r\n\r\n\r\n![screenshot_2018-03-07-20-12-30 1](https://user-images.githubusercontent.com/22963956/37098690-8696510a-2244-11e8-8f34-6720103211a0.png)  \r\n\r\n### When does it happen?\r\n```\r\nimport React from 'react'\r\nimport { BarChart } from 'react-native-svg-charts'\r\nimport { Defs, LinearGradient, Stop } from \"react-native-svg\";\r\n\r\nclass ColorBarExample extends React.PureComponent {\r\n\r\n    render() {\r\n\r\n        const barDataCritical = [\r\n      {\r\n        value:0,\r\n      },\r\n      {\r\n        value: 0, // **ERROR HAPPPENS WHEN I SET VALUE TO 0**\r\n        svg: {\r\n          fill: 'rgb(226, 225, 223)',\r\n        },\r\n      },\r\n      {\r\n        value: 3,\r\n        svg: {\r\n          fill: 'rgb(239, 203, 133)',\r\n        },\r\n      },\r\n    ];\r\n\r\n        return (\r\n            <BarChart\r\n                style={{ height: 200 }}\r\n                data={barDataCritical}\r\n                gridMin={0}\r\n                svg={{ fill: 'rgba(134, 65, 244, 0.8)' }}\r\n                yAccessor={({ item }) => item.value}\r\n                contentInset={{ top: 20, bottom: 20 }}\r\n            />\r\n        )\r\n    }\r\n\r\n}\r\n\r\nexport default ColorBarExample\r\n```\r\n\r\nI'm using these [Barchart](https://github.com/JesperLekland/react-native-svg-charts-examples/blob/master/storybook/stories/bar-chart/with-different-bars.js)\r\n\r\n### What platform?   \r\n\r\n> \"react\": \"16.1.0\",\r\n>     \"react-native\": \"0.54.0\",\r\n>     \"react-native-svg\": \"^6.2.2\",\r\n>     \"react-native-svg-charts\": \"^4.0.0\",\r\n>     \"react-native-vector-icons\": \"^4.5.0\""},"comment":{"url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/comments/371416851","html_url":"https://github.com/JesperLekland/react-native-svg-charts/issues/81#issuecomment-371416851","issue_url":"https://api.github.com/repos/JesperLekland/react-native-svg-charts/issues/81","id":371416851,"user":{"login":"dineshmm23","id":22963956,"avatar_url":"https://avatars1.githubusercontent.com/u/22963956?v=4","gravatar_id":"","url":"https://api.github.com/users/dineshmm23","html_url":"https://github.com/dineshmm23","followers_url":"https://api.github.com/users/dineshmm23/followers","following_url":"https://api.github.com/users/dineshmm23/following{/other_user}","gists_url":"https://api.github.com/users/dineshmm23/gists{/gist_id}","starred_url":"https://api.github.com/users/dineshmm23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dineshmm23/subscriptions","organizations_url":"https://api.github.com/users/dineshmm23/orgs","repos_url":"https://api.github.com/users/dineshmm23/repos","events_url":"https://api.github.com/users/dineshmm23/events{/privacy}","received_events_url":"https://api.github.com/users/dineshmm23/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T08:33:07Z","updated_at":"2018-03-08T08:33:07Z","author_association":"NONE","body":"yes i have used it .. but even when if reinstall the `node_modules` it gives same error.."}}
{"actor":{"display_login":"dineshmm23"}}