diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-03-07 15:10:16 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-03-07 15:10:16 +0900 |
| commit | ec64b5ea0bddfbd628c4a86c321a6c1141b61e42 (patch) | |
| tree | 70668d32e65b403b65d47e694ebf7e32571380cd /packages/client/src/components | |
| parent | tweak client (diff) | |
| download | sharkey-ec64b5ea0bddfbd628c4a86c321a6c1141b61e42.tar.gz sharkey-ec64b5ea0bddfbd628c4a86c321a6c1141b61e42.tar.bz2 sharkey-ec64b5ea0bddfbd628c4a86c321a6c1141b61e42.zip | |
feat: add active to federation chart
Diffstat (limited to 'packages/client/src/components')
| -rw-r--r-- | packages/client/src/components/chart.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/client/src/components/chart.vue b/packages/client/src/components/chart.vue index dc1ea2b2d8..7a716036bb 100644 --- a/packages/client/src/components/chart.vue +++ b/packages/client/src/components/chart.vue @@ -71,6 +71,7 @@ const colors = { purple: '#e300db', orange: '#fe6919', lime: '#c7f400', + cyan: '#00efef', }; const colorSets = [colors.blue, colors.green, colors.yellow, colors.red, colors.purple]; const getColor = (i) => { @@ -389,10 +390,15 @@ export default defineComponent({ data: format(raw.stalled), color: colors.red, }, { + name: 'Active', + type: 'line', + data: format(raw.active), + color: colors.lime, + }, { name: 'Pub & Sub', type: 'line', data: format(raw.pubsub), - color: colors.lime, + color: colors.cyan, }, { name: 'Pub', type: 'line', |