Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown when having 0 or 1 data point in <Area> and <Line> #157

Open
Livijn opened this issue May 19, 2022 · 1 comment
Open

Exception thrown when having 0 or 1 data point in <Area> and <Line> #157

Livijn opened this issue May 19, 2022 · 1 comment

Comments

@Livijn
Copy link

Livijn commented May 19, 2022

I am getting an exception thrown when having 0 or 1 data point in <Area> and <Line>. It works when the data set is >= 2.

Here is the exception:

Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.

[[129,129,129,119],[5,5,5,1],[[4235,"RNSVGPath",71,{"d":"M NaN 59 L NaN 118 L NaN 118","propList":["fill","strokeWidth"],"strokeWidth":"0","fill":[1,"grad0.9984082999"]}],[4237,"RNSVGPath",71,{"d":"M NaN 59","mask":"Mask","propList":["fill","stroke","strokeWidth","strokeOpacity","strokeLinecap"],"strokeLinecap":1,"strokeOpacity":1,"stroke":4290763774,"strokeWidth":3,"fill":null}],[1]],7269]

@erfinbadrian
Copy link

Field sizes are different.

Make sure your data is with same length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants