feat: add active to federation chart
This commit is contained in:
parent
8ca8d77c1e
commit
ec64b5ea0b
5 changed files with 30 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue