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

allow setting custom tick marks #865

Open
flavius-t opened this issue Jun 21, 2024 · 0 comments
Open

allow setting custom tick marks #865

flavius-t opened this issue Jun 21, 2024 · 0 comments

Comments

@flavius-t
Copy link

Describe the bug
This is not a bug, but a request to improve the custom tick mark functionality. Currently the only methods (that I am aware of) to customize the number of axis tick marks/spacing are chart.getStyler().setXAxisTickMarkSpacingHint(...) and chart.getStyler().setYAxisTickMarkSpacingHint(...). I find these methods generally do not result in the desired spacing. From looking at the code it seems there are many more factors that determine the actual tick marks generated.

It would very helpful if a more flexible approach was taken. Perhaps there could be a method to set custom x-axis tick intervals that overrides all other tick mark logic, or a method to provide a set of tick mark values.

Screenshots
N/A

Expected behavior
If I define a set of tick marks, or tick mark interval, I would like these exact tick marks to be displayed.

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

No branches or pull requests

1 participant