-
Notifications
You must be signed in to change notification settings - Fork 185
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
Chart with facets: ticks overflow #2025
Comments
can you share the notebook? 🙏 |
Sorry for that, it should be public now |
That's the expected behavior. If you want to derive the domain from the ticks, you can add a mark that will inject the ticks into the channels considered to build the domain. Or better yet, use the axisX mark with explicit ticks:
and then you don't need to specify them again in the specification for the x scale. |
the axis of Facet A goes over axis of facet B, how that can be the expected behavior ? |
"Expected behavior" does not mean that it results in a great chart, only that it's what the code is expected to do. |
In charts with facets:
If ticks property is defined without domain property, the axis will overflow.
Bug reproduction
(see observablehq)
Expected behavior
The text was updated successfully, but these errors were encountered: