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

Misaligned x label after rorate and missing label for the last points #976

Open
s-patompong opened this issue Oct 30, 2019 · 0 comments
Open

Comments

@s-patompong
Copy link

Environment: Chrome 78 on macOS Mojave, Dygraph version 2.1.0 (as seen in jsfiddle below).

jsfiddle: https://jsfiddle.net/pangpondpon/qae2mj30/

I try to show the tick on the x-axis as DAILY. When I try to rotate the x-axis so it won't overlap each other, I noticed that:

  1. The last label is missing (the last dataset is 2019/08/30 but Dygraph only renders up to 2019/08/29).

  2. The one before the last one is misaligned with the others, as screenshot attached.

misaligned label

The expected behaviour is that Dygraph should render the label up to 2019/08/30 and it should be aligned with other x-axis labels.

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