Skip to content

"Error: <path> attribute d" when traces have one element and fill tozerox #1912

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

Closed
sporto opened this issue Jul 25, 2017 · 4 comments
Closed
Labels
bug something broken

Comments

@sporto
Copy link

sporto commented Jul 25, 2017

When traces have only one element and fill is set to tozerox.

I see this error:

Error: <path> attribute d: Unexpected end of attribute. Expected number, "…673599549.5,135L".

See fiddle here:

https://codepen.io/sporto/pen/eEYwmW?editors=1010

Thanks

@sporto
Copy link
Author

sporto commented Jul 25, 2017

Same error shows if the trace has nulls

image

@rreusser
Copy link
Contributor

rreusser commented Aug 5, 2017

@sporto I submitted #1933 to fix the behavior when either the first or last point is isolated. There's a still a bit of interpretation regarding what the fill should look like when it encounters isolated points (should it ignore them? pass through them?) but hopefully this is a start since at least it's consistent and doesn't give errors.

@rreusser
Copy link
Contributor

rreusser commented Aug 7, 2017

@sporto #1933 has been merged and will be released mid-this-week with 1.30.0, I believe. The error is gone and the fill now passes through single isolated points, which I think is as desired. Please let us know if you still have problems with this once it's released.

@rreusser rreusser closed this as completed Aug 7, 2017
@sporto
Copy link
Author

sporto commented Aug 7, 2017

Thanks, I will

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

No branches or pull requests

3 participants