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

Cannot hide axis ticks #191

Open
uecasm opened this issue Jul 6, 2022 · 2 comments
Open

Cannot hide axis ticks #191

uecasm opened this issue Jul 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@uecasm
Copy link

uecasm commented Jul 6, 2022

I'm setting the XAxis.Ticks = TicksEnum.Empty but the ticks remain visible.

I suspect that because this is internally an empty string, something somewhere is treating this as equivalent to null and ignoring it, but I haven't traced it down specifically.

@sean-mcl sean-mcl added the bug Something isn't working label Oct 18, 2022
@sean-mcl
Copy link
Collaborator

Mhm, couldn't find a place where it's handled as null, it will be serialized as "".

Are you looking for XAxis.ShowTickLabels = false?

@uecasm
Copy link
Author

uecasm commented Jan 22, 2023

No, I wanted it to not show any ticks at all, not merely to hide the labels.

it will be serialized as "".

Yes, I know. I was suggesting that perhaps when this is deserialized on the JS side it might be treating this as the same as null since they're both falsy values, and thus not actually overriding the default value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants