dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

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

Open s-patompong opened this issue 6 years ago • 0 comments

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.

s-patompong avatar Oct 30 '19 15:10 s-patompong