Skip to content

Commit 0925717

Browse files
committed
Fix colors on request, response, and speed charts
1 parent 2e7a23f commit 0925717

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

app/charts/request-type-chart.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ const RequestTypesChart = (props) => {
3131
type: 'pie',
3232
marker: {
3333
'colors': [
34-
'#f38181',
34+
'#95e1d3',
3535
'#fce38a',
3636
'#fcbad3',
37-
'#95e1d3',
38-
'#a8d8ea',
3937
'#aa96da',
38+
'#a8d8ea',
39+
'#f38181',
40+
4041
]
4142
},
4243
}]}

app/charts/speed-chart.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ const SpeedChart = (props) => {
3333
title: {'text': "Speed Chart"},
3434
delta: {'reference': 3.5, 'increasing': {'color': "mistyrose"}},
3535
mode: "gauge+number+delta",
36-
gauge: { axis: { range: [null, 7] },
36+
gauge: { axis: { range: [null, 8] },
3737
'tickwidth': 1,
3838
'tickcolor': "#fce38a",
3939
'bar': {'color': "#6eb6ff"},
4040
'bordercolor': "#a3de83",
4141
'steps': [
42-
{'range': [0, 3.5], 'color': '#fab57a'},
43-
{'range': [3.5, 5.3], 'color': '#edf798'}],
42+
{'range': [0, 4], 'color': '#edf798'},
43+
{'range': [4, 6], 'color': '#fab57a'}],
4444
'threshold': {
45-
'line': {'color': "red", 'width': 4},
45+
'line': {'color': "red", 'width': 3.5},
4646
'thickness': 0.75,
47-
'value': 6}
47+
'value': 7.5}
4848
},
4949
}]}
5050
layout = {{

0 commit comments

Comments
 (0)