Fix prettier 2nd time

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
This commit is contained in:
rdwebdesign
2021-11-12 02:24:29 -03:00
parent ffc628ae4c
commit 3cc8797092
+1 -1
View File
@@ -78,7 +78,7 @@ function updateQueriesOverTime() {
timeLineChart.options.scales.xAxes[0].time.unit = "hour";
// Xaxis scaling based on selected daterange
if (num * interval >= 5 * 365 * 24 * 60 *60) {
if (num * interval >= 5 * 365 * 24 * 60 * 60) {
// If the requested data is more than 5 years, set ticks interval to year
timeLineChart.options.scales.xAxes[0].time.unit = "year";
} else if (num * interval >= 366 * 24 * 60 * 60) {