question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Time Bar Graph issue with specific time/date

See original GitHub issue

Expected Behavior

To draw the graph with “2019-03-10T02:00:00” on the x-axis with the other values also visible

Current Behavior

Does not seem to draw the specific date/time “2019-03-10T02:00:00”. It will draw the graph correctly if that specific date is not included into the x-values. It does not even draw the date/time on the x-axis.

Possible Solution

May be an issue with Moment.js

Steps to Reproduce (for bugs)

https://codepen.io/anon/pen/QeyYWW

Environment

  • Chart.js version: 2.8.0 dist/Chart.bundle.min.js
  • Browser name and version: Chrome 75.0.3770.142

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kingenelsoncommented, Jul 23, 2019

The issue turned out to be because of daylight savings

0reactions
kurklecommented, Jan 1, 2020

Closing as resolved

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time bar graph - Microsoft Community
Time bar graph. I have a query with the results as shown with Item and Date. I would like to plot a bar...
Read more >
Chart.js Date and Time Bar Chart Not Rendering - Line Works ...
The issue is, bar chart doesn't support the type of data format, that you are providing. You should rather use the following type...
Read more >
Date and Time Series Issues in Excel Charts
“A date axis displays dates in chronological order at specific intervals or base units, such as the number of days, months, or years,...
Read more >
Bar graph over dates, format of dates - Statalist
I have a time series and would like to make a bar graph over dates, is it possible to specify the label format...
Read more >
How to create a chart with date and time on X axis in Excel?
In Excel, we usually insert a chart to better describe the data. But in some cases, when you create a column/bar/line chart based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found