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

d3 shape like API #20

Closed
clozr opened this issue Dec 5, 2016 · 1 comment
Closed

d3 shape like API #20

clozr opened this issue Dec 5, 2016 · 1 comment

Comments

@clozr
Copy link

clozr commented Dec 5, 2016

I am trying to integrate d3 axis into a react-native application.
d3 shape API is quite good in the sense that it gives back the raw path data which could be directly used with react-native ART api.
However d3-axis doesn't have similar isolation. it relies on knowledge of DOM to setup the path correctly. It would be nice to have an API to get those axis, ticks and labels path directly so that it can be used with any compatible rendering methods.

@mbostock
Copy link
Member

mbostock commented Dec 5, 2016

No plans to implement this. You can use d3-scale (and d3.ticks from d3-array) if you want to roll your own axes without using SVG.

@mbostock mbostock closed this as completed Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant