1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

frontend: "builds" -> "runs"

use consistent naming
This commit is contained in:
Oliver Giles 2020-12-05 13:52:40 +13:00
parent c274e321df
commit 5e64844440

View File

@ -247,7 +247,7 @@ const Charts = (() => {
}] }]
}, },
options:{ options:{
title: { display: true, text: 'Builds per day' }, title: { display: true, text: 'Runs per day' },
tooltips:{callbacks:{title: (tip, data) => dayNames[tip[0].index].long}}, tooltips:{callbacks:{title: (tip, data) => dayNames[tip[0].index].long}},
scales:{yAxes:[{ scales:{yAxes:[{
ticks:{userCallback: (label, index, labels) => Number.isInteger(label) ? label: null}, ticks:{userCallback: (label, index, labels) => Number.isInteger(label) ? label: null},
@ -273,7 +273,7 @@ const Charts = (() => {
}] }]
}, },
options:{ options:{
title: { display: true, text: 'Builds per job' }, title: { display: true, text: 'Runs per job' },
hover: { mode: null }, hover: { mode: null },
scales:{xAxes:[{ticks:{userCallback: (label, index, labels)=> Number.isInteger(label) ? label: null}}]} scales:{xAxes:[{ticks:{userCallback: (label, index, labels)=> Number.isInteger(label) ? label: null}}]}
} }
@ -331,7 +331,7 @@ const Charts = (() => {
})) }))
}, },
options:{ options:{
title: { display: true, text: 'Build time changes' }, title: { display: true, text: 'Run time changes' },
legend:{ display: true, position: 'bottom' }, legend:{ display: true, position: 'bottom' },
scales:{ scales:{
xAxes:[{ticks:{display: false}}], xAxes:[{ticks:{display: false}}],