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

Documentation does not provide a way to hide axes entirely #492

Open
pashpashpash opened this issue Aug 12, 2019 · 3 comments
Open

Documentation does not provide a way to hide axes entirely #492

pashpashpash opened this issue Aug 12, 2019 · 3 comments
Labels
documentation 📚 Examples and updates to the docs

Comments

@pashpashpash
Copy link

I want my graph to take up the maximum possible space, without axes -- currently the documentation does not mention how to do this.

@emeeks
Copy link
Member

emeeks commented Aug 15, 2019

Axes are optional. You don't have to send anything to the axes prop and then it will not render them. Margins try to be smart, so if you pass axes or a title or something, it will try to give the proper amount of space, but you can override it by sending a specific margin. If you send margin={0} that will give you the full space to the chart.

@dgwyer
Copy link
Contributor

dgwyer commented Aug 19, 2019

I guess an example or two on the docs would be useful for completeness? If you've been using Semiotic for a while then it's obvious, as @emeeks mentioned, that you can simply omit the axes to hide them.

But maybe it would be helpful for people new to Semiotic to see an example and it specifically mentioned that omitting axes is all you need to do.

@emeeks
Copy link
Member

emeeks commented Aug 27, 2019

That makes a lot of sense @dgwyer there should be an explicit mention on the axes docs.

@willingc willingc added the documentation 📚 Examples and updates to the docs label Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Examples and updates to the docs
Projects
None yet
Development

No branches or pull requests

4 participants