Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Depth chart: overlapping x-axis labels #1021
There are few ways to fix that:
Thank you for the quick reply!
However, the reason the labels overlap in the first place is that the precision of the x-axis labels is way too high (e.g.
A nice interface to this would being able to supply a function that's applied to each a label value before it's displayed. Like:
As far as I can see from reading the formatting numbers article, I can't adjust the number of significant digits, so that the number formatter makes sense both for input like
Well, since this particular demo uses
I suppose you could add an adapter to category axis' labels to round those numbers.