From ec64b5ea0bddfbd628c4a86c321a6c1141b61e42 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Mon, 7 Mar 2022 15:10:16 +0900
Subject: feat: add active to federation chart

---
 packages/client/src/components/chart.vue | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'packages/client/src/components/chart.vue')

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) => {
@@ -388,11 +389,16 @@ export default defineComponent({
 					type: 'area',
 					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',
-- 
cgit v1.2.3-freya

