-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
Expected Behavior
This is what I'd expect and what happens if I use normal string labels (by using MomentJS's .format beforehand):
Current Behavior
This is what currently happens:
The final time axis label overlaps with the one before it. (Seems to happen at most screen sizes.)
The bar widths appear to be random.
Possible Solution
Haven't yet looked into it. Likely in buildTicks
within scale.time.js
Steps to Reproduce (for bugs)
- Use non-bundled Moment.js
- Use a bar chart with time axes and many data points (the above example images used 1568, at 5s intervals)
- The bar widths appear to be random.
- The final time axis label will probably overlap the one before.
Context
I'm trying to display a large amount of data acquired over a period of time.
Environment
- Chart.js version: 2.4.0
- Moment.js version: 2.17.1
- Browser name and version: Chrome (latest)
- Link to example: http://codepen.io/anon/pen/PWZGmQ
Lustitia and jsparedes