правки по графикам
Gitea Actions Demo / build_and_push (push) Successful in 45s
Details
Gitea Actions Demo / build_and_push (push) Successful in 45s
Details
This commit is contained in:
parent
ef216d5ba7
commit
0bbc90cb5c
|
|
@ -737,7 +737,6 @@ const buildChartOptions = (
|
||||||
const d3 = new Date(labels[i] as string);
|
const d3 = new Date(labels[i] as string);
|
||||||
if (start === 0 && i !== 0 && d3 > d1) {
|
if (start === 0 && i !== 0 && d3 > d1) {
|
||||||
start = i;
|
start = i;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (d3 > d2) {
|
if (d3 > d2) {
|
||||||
end = i;
|
end = i;
|
||||||
|
|
@ -748,7 +747,6 @@ const buildChartOptions = (
|
||||||
for (let i = 0; i < labels.length; i++) {
|
for (let i = 0; i < labels.length; i++) {
|
||||||
if (i !== 0 && Number(labels[i]) > min) {
|
if (i !== 0 && Number(labels[i]) > min) {
|
||||||
start = i;
|
start = i;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (Number(labels[i]) > max) {
|
if (Number(labels[i]) > max) {
|
||||||
end = i;
|
end = i;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue