소스 검색

time step

HuJK 4 년 전
부모
커밋
59ee20fd3a
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      chart.html
  2. 1 0
      chart_linear.html

+ 2 - 1
chart.html

@@ -162,6 +162,7 @@ async function mainfunc() {
 								return tick.toString() + ':00';
 							},
                                                         beginAtZero: true,
+							stepSize: 3,
                                                         max: 24
 
 						},
@@ -171,7 +172,7 @@ async function mainfunc() {
 						}
 					}]
 				},
-		                responsive: true,
+		responsive: true,
                 maintainAspectRatio: false
         }
     });

+ 1 - 0
chart_linear.html

@@ -157,6 +157,7 @@ async function mainfunc() {
 								return tick.toString() + ':00';
 							},
 							beginAtZero: true,
+							stepSize: 3,
 							max: 24
 						},
 						scaleLabel: {