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

Configurable precision for generated path data #204

Closed
mbostock opened this issue Dec 18, 2022 · 1 comment
Closed

Configurable precision for generated path data #204

mbostock opened this issue Dec 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

With d3.pathFixed d3/d3-path#12, we now have a way to limit the precision of the strings generated by D3 shapes. We should provide a way to control this behavior (e.g., line.digits? maximumFractionDigits? precision?), and it should probably default to three decimal digits.

@mbostock mbostock added the enhancement New feature or request label Dec 18, 2022
@mbostock
Copy link
Member Author

Fixed in #205.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant