mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Fixed overlapping labels in PDF report
This commit is contained in:
committed by
Constantin Graf
parent
02fe89dfdf
commit
29929467f6
@@ -393,11 +393,7 @@
|
||||
if (minutes < 10) {
|
||||
minutes = "0" + minutes;
|
||||
}
|
||||
let seconds = totalSeconds % 60;
|
||||
if (seconds < 10) {
|
||||
seconds = "0" + seconds;
|
||||
}
|
||||
return hours + ":" + minutes + ":" + seconds;
|
||||
return hours + ":" + minutes;
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -412,6 +408,11 @@
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
@if(count($dataHistoryChart['grouped_data']) > 15)
|
||||
rotate: 90,
|
||||
offset: [10, 5],
|
||||
@endif
|
||||
fontSize: 10,
|
||||
position: "top",
|
||||
formatter: function(params) {
|
||||
let value = params.value;
|
||||
@@ -428,11 +429,7 @@
|
||||
if (minutes < 10) {
|
||||
minutes = "0" + minutes;
|
||||
}
|
||||
let seconds = totalSeconds % 60;
|
||||
if (seconds < 10) {
|
||||
seconds = "0" + seconds;
|
||||
}
|
||||
return hours + ":" + minutes + ":" + seconds;
|
||||
return hours + ":" + minutes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user