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

An option to disable the domain line #80

Open
Tracked by #64
mbostock opened this issue Oct 14, 2021 · 1 comment
Open
Tracked by #64

An option to disable the domain line #80

mbostock opened this issue Oct 14, 2021 · 1 comment

Comments

@mbostock
Copy link
Member

The g.select(".domain").remove() pattern here is frequent:

svg.append("g")
      .attr("transform", `translate(${marginLeft},0)`)
      .call(yAxis)
      .call(g => g.select(".domain").remove())

It’d be nice if we could prevent the axis from creating that in the first place, especially for transitions.

@curran
Copy link
Contributor

curran commented Oct 14, 2021

It is frequent indeed. I do this all the time. An option to disable it would be very nice!

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

2 participants