mirror of
https://github.com/status-im/consul.git
synced 2025-02-22 02:18:25 +00:00
ui: Topology metrics view outbound bytes color blue (#11343)
This commit is contained in:
parent
a5c292c000
commit
f801662f5c
@ -101,6 +101,10 @@ export default Component.extend({
|
||||
// Use the grey/red we prefer by default but have more colors available in
|
||||
// case user adds extra series with a custom provider.
|
||||
let colorScheme = ['#DCE0E6', '#C73445'].concat(schemeTableau10);
|
||||
|
||||
if (keys.includes('Outbound')) {
|
||||
colorScheme = ['#DCE0E6', '#0E40A3'].concat(schemeTableau10);
|
||||
}
|
||||
let color = scaleOrdinal(colorScheme).domain(keys);
|
||||
|
||||
svg
|
||||
|
Loading…
x
Reference in New Issue
Block a user