This commit is contained in:
syuilo 2021-10-23 22:41:34 +09:00
parent d4c0d85cbc
commit 2d21685d22

View file

@ -79,6 +79,7 @@ export default defineComponent({
pointRadius: 0, pointRadius: 0,
tension: 0, tension: 0,
borderWidth: 2, borderWidth: 2,
borderJoinStyle: 'round',
borderColor: '#00E396', borderColor: '#00E396',
backgroundColor: alpha('#00E396', 0.1), backgroundColor: alpha('#00E396', 0.1),
data: [] data: []
@ -87,6 +88,7 @@ export default defineComponent({
pointRadius: 0, pointRadius: 0,
tension: 0, tension: 0,
borderWidth: 2, borderWidth: 2,
borderJoinStyle: 'round',
borderColor: '#00BCD4', borderColor: '#00BCD4',
backgroundColor: alpha('#00BCD4', 0.1), backgroundColor: alpha('#00BCD4', 0.1),
data: [] data: []
@ -95,6 +97,7 @@ export default defineComponent({
pointRadius: 0, pointRadius: 0,
tension: 0, tension: 0,
borderWidth: 2, borderWidth: 2,
borderJoinStyle: 'round',
borderColor: '#FFB300', borderColor: '#FFB300',
backgroundColor: alpha('#FFB300', 0.1), backgroundColor: alpha('#FFB300', 0.1),
data: [] data: []
@ -103,9 +106,11 @@ export default defineComponent({
pointRadius: 0, pointRadius: 0,
tension: 0, tension: 0,
borderWidth: 2, borderWidth: 2,
borderJoinStyle: 'round',
borderColor: '#E53935', borderColor: '#E53935',
borderDash: [5, 5], borderDash: [5, 5],
fill: false, fill: false,
yAxisID: 'y2',
data: [] data: []
}], }],
}, },
@ -132,6 +137,19 @@ export default defineComponent({
}, },
}, },
y: { y: {
min: 0,
stack: 'queue',
stackWeight: 2,
grid: {
color: gridColor,
borderColor: 'rgb(0, 0, 0, 0)',
},
},
y2: {
min: 0,
offset: true,
stack: 'queue',
stackWeight: 1,
grid: { grid: {
color: gridColor, color: gridColor,
borderColor: 'rgb(0, 0, 0, 0)', borderColor: 'rgb(0, 0, 0, 0)',