org wide community health files
See this guide or this blog post for more information about shared community health files.
org wide community health files
org wide community health files
See this guide or this blog post for more information about shared community health files.
Hey all,
The cursed Android SVG crash has hit me again and I just cannot find out why it might be happening. The full error is:
Error while updating property 'd' of a view managed by: RNSVGPath
null
Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
Everything is working fine on iOS. I know that this error usually rears its ugly head when you are only supplying less than 2 data points on Android. I took care of that long ago, but the error is back.
I have a screen with 3 VictoryArea components all shown in a single chart. I'm supplying the data to the components via State. If I log the data, copy it, and hard-code it into the data for the VictoryArea components, then everything works without the crash. Likewise, if I hard-code the data into State, everything works. Even more, if I hard-code the data into just one of the 3 components and supply the other 2 from State, then it works. It doesn't seem to matter which component I hard-code. It only seems to cause a problem when all three are using data from State.
react-native: "0.61.5",
react-native-svg: "^9.13.6",
victory-native: "^33.0.1",
Any clue!??!! I've included the data that is causing the problem below:
data1={[
{ date: '03 / 02', value: 0.28 },
{ date: '03 / 03', value: 0.14 },
{ date: '03 / 04', value: 0.45 },
{ date: '03 / 06', value: 0.77 },
{ date: '03 / 07', value: 0.54 },
]}
data2={[
{ date: '03 / 02', value: 0.57 },
{ date: '03 / 03', value: 0.71 },
{ date: '03 / 04', value: 0.35 },
{ date: '03 / 06', value: 0.24 },
{ date: '03 / 07', value: 0.24 },
]}
data3={[
{ date: '03 / 02', value: 0.14 },
{ date: '03 / 03', value: 0.14 },
{ date: '03 / 04', value: 0.2 },
{ date: '03 / 06', value: 0 },
{ date: '03 / 07', value: 0.22 },
]}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.