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

Histogram X axis label rotate and sorting 'categorical' tick problem #198

Open
caglarbayatli opened this issue Jan 29, 2020 · 3 comments
Open

Comments

@caglarbayatli
Copy link

Xaxis label angle does not work properly and Xaxis "tickLabelComponent" prop is not used, I suppose.
And Im working with pre-binned data and data order does not matter to histogram bar series, X axis sorts ticks anyway.

Thanks

@Genarito
Copy link

Same problem here! Did you solve this?

@acaglarbayatli
Copy link

Hi @Genarito , I have solved the angle myself, however X axis labels are still sorted by library anyway.
I've used tickLabelProps like, tickLabelProps={()=>{return {angle: 315, fontSize: 10, textAnchor: "end", dy: -5 }}}

@Genarito
Copy link

Thank you so much for you answer, unfortunatelly my problem was that the object keys where not sorted

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

3 participants