Skip to content

Commit a317511

Browse files
committed
Updated all charts with appropriate fonts, labels, and ticks
1 parent f70e23c commit a317511

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

app/charts/docker-stats-chart.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ const DockerStatsChart = (props) => {
7676
</span>
7777
)
7878
}
79+
7980
console.log('dockerStatsArr (docker stats chart):', dockerStatsArr);
8081
return (
8182
<div id="docker-stats-chart">

app/charts/latency-chart.jsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ const LatencyChart = (props) => {
2626
y: yAxis,
2727
mode: 'lines',
2828
rangemode: 'nonnegative',
29-
name: `${props.service} CPU Latency`,
29+
// name: `${props.service} CPU Latency`,
30+
name: 'CPU Latency',
3031
marker: {
3132
color: '#daaa17',
3233
},
@@ -43,9 +44,10 @@ const LatencyChart = (props) => {
4344
plot_bgcolor: 'white',
4445
showlegend: true,
4546
legend: {
46-
orientation: 'h',
47-
xanchor: 'center',
48-
x: .5
47+
orientation: 'h',
48+
xanchor: 'center',
49+
x: 0.5,
50+
y: 5,
4951
},
5052
xaxis: {
5153
tickmode: 'linear',

app/stylesheets/graphs.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
grid-template-columns: auto auto auto;
44
grid-gap: 30px; /* align-items: center; */
55
margin: auto;
6+
padding-bottom: 25px;
67
border-radius: 2px;
78
box-shadow: 2px 2px 2px rgba(216, 210, 247, .5);
89
}

app/stylesheets/monitoring.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
#microserviceHealthTitle{
1515
color: black;
1616
font-size: 38px;
17-
margin-top: 0px;
17+
margin-top: 20px;
1818
font-family: 'Quicksand', sans-serif;
1919
}

0 commit comments

Comments
 (0)