Skip to content

Commit f3e35ac

Browse files
authored
Merge pull request #482 from Raj-spy/fix/JENKINS-58404-show-max-label
[JENKINS-58404] Avoid cropping of build numbers by adding showMaxLabel: true
2 parents 47f89a1 + cad1908 commit f3e35ac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/webapp/js/echarts-api.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ const echartsJenkinsApi = {
355355
boundaryGap: false,
356356
data: chartModel.domainAxisLabels,
357357
axisLabel: {
358-
color: textColor
358+
color: textColor,
359+
showMaxLabel: true
359360
}
360361
}],
361362
yAxis: [{
@@ -456,7 +457,8 @@ const echartsJenkinsApi = {
456457
boundaryGap: false,
457458
data: chartModel.domainAxisLabels,
458459
axisLabel: {
459-
color: textColor
460+
color: textColor,
461+
showMaxLabel: true
460462
}
461463
}
462464
],

0 commit comments

Comments
 (0)