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

docs: add example with custom tick label strings #7049

Merged
merged 2 commits into from Nov 17, 2020

Conversation

domoritz
Copy link
Member

This adds an example of how to replace numerical tick labels with custom strings using a nested ternary expression inside labelExpr. Let me know if I missed something for adding an example, I wasn't sure about adding the <span> tagged line to the site docs as mentioned in the contributor guidelines since other examples did not seems to do this.

close #7045

@domoritz domoritz merged commit fb12778 into master Nov 17, 2020
@domoritz domoritz deleted the joelostblom/custom-tick-labels branch November 17, 2020 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add doc example of replacing tick labels with custom strings
2 participants