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 tilting of X-Axis labels to maximize granularity while displaying long labels #52

Closed
doriancransac opened this issue Jan 8, 2014 · 4 comments

Comments

@doriancransac
Copy link

I'm trying to display date formats such as "yyyy-MM-dd HH:mm:ss" and currently, the fact that the labels are displayed horizontally greatly limits the total number of labels that can be printed along the X Axis.

I would like to be able to provide an angle to which the labels get tilted (between 0 and 360°). To maximize space, a 90° or 180° angle could then be used.

PS: I just noticed I can't seem to find a way to define the number of gradations on the X-Axis either (i.e some sort of granularity that defines the number and length of each interval). That seems like it would be a good combination with the feature I'm asking here, if it doesn't already exist.

@timmolter
Copy link
Member

These are both features I've always wanted to implement. I may be able to get to it in the next couple of weeks. If you think you can and want to implement, I'd be happy to accept a pull request for one or both of the features...

@timmolter
Copy link
Member

I went ahead and implemented the second request. See screeny below.

992602d

screen shot 2014-01-08 at 10 00 05 pm

@doriancransac
Copy link
Author

Hi Tim,

Thanks for the quick feedback and update on the second suggestion.

Not sure if I'll be able to get into the code this time around, but I'll definitely keep it in mind and will attempt to implement it when I get a chance.

Regards,

Dorian

@timmolter
Copy link
Member

I added a bounty to this issue: #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants