-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
Expected Behavior
I am charting 1440 values with 1440 chart labels (minutes in 24 hours) in range (0-23).
I have checked that I have exactly 60 labels with 23 (minutes in hour) same as for every other hour.
The grid should be evenly spread.
Current Behavior
The last grid column is stretched and do not keep scale with others.
Possible Solution
None.
Steps to Reproduce (for bugs)
- Define data with 1440 data points.
- Define chart labels from 0 to 23, each value 60 times.
- xAxes: [{
ticks: {
stepSize: 1,
maxTicksLimit: 26,
suggestedMax: 24
},
scaleLabel : {
display: true,
fontColor: '#000000',
labelString: 'Time UTC (hours)'
}
}], - Draw.
Context
The chart looks bad :(.
Environment
- Chart.js version: "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.bundle.js"
- Browser name and version: Chrome Version 59.0.3071.115 (Official Build) (64-bit)

Metadata
Metadata
Assignees
Labels
No labels