Skip to content

Commit 4a5798c

Browse files
author
Cefan Rubin
committed
with a better unit
1 parent fcdb8dc commit 4a5798c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ window.chart = new Chart( document.getElementById( 'chart' ), {
3838
},
3939
options: {
4040
scales: {
41-
x: { type: 'time' }
41+
x: { type: 'time', time: { unit: 'hour' } }
4242
},
4343
layout: {
4444
padding: {

0 commit comments

Comments
 (0)