diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-25 02:34:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-25 02:34:58 +0900 |
| commit | 6d557269c13f023d80aeeb28ddceb7337aca134c (patch) | |
| tree | f69595ca45dd0d05dc3af4404dd8205dc828ddc1 /src/client/components/queue-chart.vue | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.94.0 (diff) | |
| download | misskey-6d557269c13f023d80aeeb28ddceb7337aca134c.tar.gz misskey-6d557269c13f023d80aeeb28ddceb7337aca134c.tar.bz2 misskey-6d557269c13f023d80aeeb28ddceb7337aca134c.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/components/queue-chart.vue')
| -rw-r--r-- | src/client/components/queue-chart.vue | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/client/components/queue-chart.vue b/src/client/components/queue-chart.vue index 59c9723f89..f9c3eccfb5 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,17 +97,21 @@ export default defineComponent({ pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#FFB300', backgroundColor: alpha('#FFB300', 0.1), + yAxisID: 'y2', data: [] }, { label: 'Delayed', pointRadius: 0, tension: 0, borderWidth: 2, + borderJoinStyle: 'round', borderColor: '#E53935', borderDash: [5, 5], fill: false, + yAxisID: 'y2', data: [] }], }, @@ -122,15 +128,29 @@ export default defineComponent({ scales: { x: { grid: { - display: false, + display: true, color: gridColor, borderColor: 'rgb(0, 0, 0, 0)', }, ticks: { display: false, + maxTicksLimit: 10 }, }, 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)', |