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

Support tickCount for X axis #330

Open
Zandor300 opened this issue Nov 24, 2022 · 0 comments
Open

Support tickCount for X axis #330

Zandor300 opened this issue Nov 24, 2022 · 0 comments

Comments

@Zandor300
Copy link
Contributor

tickCount can be set on a Y axis to reduce the amount of ticks that are shown.

I would like to be able to do the same for the X axis.

    const primaryAxis = React.useMemo(
        () => ({
            // ...
            tickCount: 5
            // ...
        }), []
    );

Currently, since I am showing every day for the next year, the X axis labels become unreadable. I am doing this to get a chart that is as detailed as possible.

chrome_pJd9pGa2uK

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