Skip to content

Commit 6941412

Browse files
authored
Merge pull request #21 from lu0713/master
Commented out console.logs, incorporated RouteChart removal of doubled edges
2 parents 429f595 + ded6556 commit 6941412

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1531
-270
lines changed

app/assets/mongo-icon-color.png

20.2 KB
Loading

app/assets/mongo-icon-green-light.png

14.6 KB
Loading

app/assets/mongo-icon-green.png

14.6 KB
Loading

app/assets/mongo-icon-white.png

32.7 KB
Loading

app/assets/postgres-icon-white.png

11.2 KB
Loading
5.25 KB
Loading

app/assets/postgres-icon-yellow.png

5.26 KB
Loading

app/charts/LatencyChart.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ const LatencyChart = React.memo(() => {
1616
type: 'scattergl',
1717
y: yAxis,
1818
mode: 'lines',
19-
marker: { color: '#daaa17' },
19+
marker: { color: '#fc4039' },
2020
},
2121
]}
2222
layout={{
2323
title: 'Latency',
2424
height: 300,
2525
width: 300,
2626
font: {
27-
color: 'black',
27+
color: '#444d56',
2828
size: 11.5,
29-
family: 'Open Sans',
29+
family: 'Roboto',
3030
},
3131
paper_bgcolor: 'white',
3232
plot_bgcolor: 'white',

app/charts/MemoryChart.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ const MemoryChart = React.memo(() => {
1515
{
1616
type: 'scattergl',
1717
fill: 'tonexty',
18-
fillcolor: 'rgb(0, 237, 160)',
18+
fillcolor: '#fc4039',
1919
mode: 'none',
2020
y: free,
2121
name: 'Free Memory',
2222
},
2323
{
2424
type: 'scatter',
2525
fill: 'tonexty',
26-
fillcolor: 'rgba(0, 237, 160, .4)',
26+
fillcolor: '#4b54ea',
2727
mode: 'none',
2828
y: used,
2929
name: 'Used Memory',
3030
},
3131
{
3232
type: 'scatter',
3333
fill: 'tonexty',
34-
fillcolor: 'rgba(74, 78, 238, .5)',
34+
fillcolor: '#3788fc',
3535
mode: 'none',
3636
y: active,
3737
name: 'Active Memory',
@@ -42,21 +42,26 @@ const MemoryChart = React.memo(() => {
4242
height: 300,
4343
width: 300,
4444
font: {
45-
color: 'black',
45+
color: '#444d56',
4646
size: 11.5,
47-
family: 'Open Sans',
47+
family: 'Roboto',
4848
},
4949
paper_bgcolor: 'white',
5050
plot_bgcolor: 'white',
5151
legend: {
5252
orientation: 'h',
5353
xanchor: 'center',
5454
x: 0.5,
55+
y: -1.0,
56+
font: {
57+
size: 9
58+
}
5559
},
5660
xaxis: {
5761
tickmode: 'linear',
5862
tick0: 0,
5963
dtick: 10,
64+
title: 'Time Elapsed (min)',
6065
},
6166
yaxis: {
6267
title: 'Bytes'

app/charts/ProcessesChart.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const ProcessesChart = React.memo(() => {
1818
mode: 'markers',
1919
name: 'Running Processes',
2020
marker: {
21-
color: '#00d3f2',
21+
color: '#3788fc',
2222
size: 3,
2323
},
2424
},
@@ -28,7 +28,7 @@ const ProcessesChart = React.memo(() => {
2828
mode: 'markers',
2929
name: 'Blocked Processes',
3030
marker: {
31-
color: '#00eda0',
31+
color: '#fc4039',
3232
size: 3,
3333
},
3434
},
@@ -38,7 +38,7 @@ const ProcessesChart = React.memo(() => {
3838
mode: 'markers',
3939
name: 'Sleeping Processes',
4040
marker: {
41-
color: '#4a4eee',
41+
color: '#4b54ea',
4242
size: 3,
4343
},
4444
},
@@ -48,19 +48,24 @@ const ProcessesChart = React.memo(() => {
4848
height: 300,
4949
width: 300,
5050
font: {
51-
color: 'black',
51+
color: '#444d56',
5252
size: 11.5,
53-
family: 'Open Sans',
53+
family: 'Roboto',
5454
},
5555
paper_bgcolor: 'white',
5656
plot_bgcolor: 'white',
5757
legend: {
5858
orientation: 'h',
5959
xanchor: 'center',
6060
x: 0.5,
61+
y: -1.0,
62+
font: {
63+
size: 9
64+
}
6165
},
6266
xaxis: {
6367
dtick: 10,
68+
title: 'Time Elapsed (min)',
6469
},
6570
yaxis: {
6671
title: 'Number of Processes'

0 commit comments

Comments
 (0)