React-native-chart-kit: Problem with updating property 'stroke' of a view managed by: RNSVGLine

Created on 25 Jan 2020  路  4Comments  路  Source: indiespirit/react-native-chart-kit

83042049_562129747736845_2239205754097631232_n

Hello,
I'm triying the first example given in the readme file and i got this error returned. It seems to come from the "color: (opacity = 1) => rgba(26, 255, 146, ${opacity})" line from the chartconfig. I'm unable to find any similar error on internet and i really want to use your library, do you have any ideas on how to solve it ?

Most helpful comment

I got it working.

When installing react-native-svg do not use npm or yarn.

Use "expo install react-native-svg" as specified at https://github.com/react-native-community/react-native-svg#installation

There seems to be versioning issues with react-native-svg and expo

All 4 comments

Has anyone solved this?

I am also experiencing this issue. Have tried reinstalling several times

I got it working.

When installing react-native-svg do not use npm or yarn.

Use "expo install react-native-svg" as specified at https://github.com/react-native-community/react-native-svg#installation

There seems to be versioning issues with react-native-svg and expo

I got it working.

When installing react-native-svg do not use npm or yarn.

Use "expo install react-native-svg" as specified at https://github.com/react-native-community/react-native-svg#installation

There seems to be versioning issues with react-native-svg and expo

It worked for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

azui007 picture azui007  路  6Comments

bhoomika911 picture bhoomika911  路  4Comments

SyedShahbazHussain picture SyedShahbazHussain  路  4Comments

marinimau picture marinimau  路  6Comments

uttampawar picture uttampawar  路  3Comments