Skip to content

Commit d538a64

Browse files
committed
Updated color schemes for graphs
1 parent 207f957 commit d538a64

6 files changed

Lines changed: 12 additions & 13 deletions

File tree

app/charts/microservice-traffic.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ const MicroServiceTraffic = (props) => {
8686
x: ['Orders', 'Customers', 'Books', 'Reverse-Proxy', 'ReverseProxy'],
8787
y: [...serverPingCount, 0, yAxisHeadRoom],
8888
fill: 'tozeroy',
89-
color: 'red',
90-
opacity: .4,
89+
marker: {'color': '#5C80FF'},
90+
opacity: .7,
9191
mode: 'none',
9292
name: 'Times Server Pinged',
9393
showlegend: true

app/charts/request-type-chart.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ const RequestTypesChart = (props) => {
3333
marker: {
3434
'colors': [
3535
'#c1e1dc',
36-
'#008dcb',
36+
'#337bae',
3737
'#ffeb94',
38-
'#f47d4a',
38+
'#2f496e',
3939
'#73605b',
4040
'#d09683',
4141
]

app/charts/response-code-chart.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ const ResponseCodeChart = (props) => {
7171
marker: {
7272
colors: [
7373
'#4897d8',
74-
'#ffdb5c',
75-
'#fa6e59',
74+
'#ffd480',
75+
'#fffe9f',
7676
'#f8a055',
7777
'#73605b',
78-
'#d09683',
7978
],
8079
},
8180
},

app/charts/speed-chart.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ const SpeedChart = (props) => {
3131
type: 'indicator',
3232
value: yAxis[yAxis.length - 1],
3333
title: {'text': "Speed Chart"},
34-
delta: {'reference': 3.5, 'increasing': {'color': 'white'}},
34+
delta: {'reference': 3.5, 'decreasing': {'color': 'mistyrose'}},
3535
mode: "gauge+number+delta",
3636
gauge: { axis: { range: [null, 8] },
3737
'tickwidth': 1,
38-
'tickcolor': "#92aac7",
38+
'tickcolor': 'mistyrose',
3939
'bar': {'color': "#e1315b"},
4040
'bordercolor': "#a1be95",
4141
'steps': [
4242
{'range': [0, 4], 'color': '#e2dfa2'},
4343
{'range': [4, 6], 'color': '#fab57a'}
4444
],
4545
'threshold': {
46-
'line': {'color': 'white', 'width': 3.5},
46+
'line': {'color': 'mistyrose', 'width': 3.5},
4747
'thickness': 0.75,
4848
'value': 7.5
4949
}

app/stylesheets/graphs.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
}
66

77
svg {
8-
border-radius: 10px;
9-
/* box-shadow: 5px 5px 5px rgba(196, 183, 183, 0.6); */
8+
border-radius: 2px;
9+
box-shadow: 5px 5px 5px rgba(212, 164, 219, 0.5);
1010
}

user/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"setupRequired":false,"services":[["asdf","MongoDB","mongodb+srv://alon:testing123@cluster0-phsei.mongodb.net/test?retryWrites=true&w=majority"]],"splash":true}
1+
{"setupRequired":false,"services":[["asdf","MongoDB","mongodb+srv://alon:testing123@cluster0-phsei.mongodb.net/test?retryWrites=true&w=majority"]],"splash":false}

0 commit comments

Comments
 (0)