margelo / react-native-graph

📈 Beautiful, high-performance Graphs and Charts for React Native built with Skia
https://margelo.io
MIT License
2.08k stars 118 forks source link

Error when I try to use the react native graph #50

Open victjam opened 2 years ago

victjam commented 2 years ago

I'm getting this weird error when I load the chart. Basically I'm doing this.

1- Install all the dependencies.

And called like this.

<LineGraph animated={true} points={generateRandomGraphData(10)} color="#4484B2" />

Those are the errors.

Uncaught TypeError: this.CanvasKit is undefined

The above error occurred in the <AnimatedLineGraph> component:

Anyone can help me with this?

sidferreira commented 1 year ago

Indeed