diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-23 22:41:34 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-23 22:41:34 +0900 |
| commit | 2d21685d2239aa0b2bf855c2d0f6391dc6c0c4d8 (patch) | |
| tree | eabd6da4cb5e688f8d2661485f8c19ad4e389494 /src | |
| parent | :art: (diff) | |
| download | sharkey-2d21685d2239aa0b2bf855c2d0f6391dc6c0c4d8.tar.gz sharkey-2d21685d2239aa0b2bf855c2d0f6391dc6c0c4d8.tar.bz2 sharkey-2d21685d2239aa0b2bf855c2d0f6391dc6c0c4d8.zip | |
:art:
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/queue-chart.vue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/components/queue-chart.vue b/src/client/components/queue-chart.vue index c66f83ecdf..99bc9478a3 100644 --- a/src/client/components/queue-chart.vue +++ b/src/client/components/queue-chart.vue @@ -79,6 +79,7 @@ export default defineComponent({ pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#00E396', backgroundColor: alpha('#00E396', 0.1), data: [] @@ -87,6 +88,7 @@ export default defineComponent({ pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#00BCD4', backgroundColor: alpha('#00BCD4', 0.1), data: [] @@ -95,6 +97,7 @@ export default defineComponent({ pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#FFB300', backgroundColor: alpha('#FFB300', 0.1), data: [] @@ -103,9 +106,11 @@ export default defineComponent({ pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#E53935', borderDash: [5, 5], fill: false, + yAxisID: 'y2', data: [] }], }, @@ -132,6 +137,19 @@ export default defineComponent({ }, }, 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: { color: gridColor, borderColor: 'rgb(0, 0, 0, 0)', |