summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/monitoring/utils
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-08-24 10:17:41 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-08-30 18:28:13 -0500
commit520ab72bd3cbc9965f587424de9f39e97e18f5cf (patch)
treef9ec2c42651fd4750f3feda0878d03d2d89db75e /app/assets/javascripts/monitoring/utils
parentd9a3c5f21c63cab57940b684ed99f2c6b5998b5e (diff)
downloadgitlab-ce-520ab72bd3cbc9965f587424de9f39e97e18f5cf.tar.gz
Added vertical spacing when there's multiple legends
Diffstat (limited to 'app/assets/javascripts/monitoring/utils')
-rw-r--r--app/assets/javascripts/monitoring/utils/measurements.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/javascripts/monitoring/utils/measurements.js b/app/assets/javascripts/monitoring/utils/measurements.js
index 62cd19c86e1..ee3c45efacc 100644
--- a/app/assets/javascripts/monitoring/utils/measurements.js
+++ b/app/assets/javascripts/monitoring/utils/measurements.js
@@ -7,15 +7,15 @@ export default {
left: 40,
},
legends: {
- width: 15,
- height: 25,
+ width: 10,
+ height: 3,
},
backgroundLegend: {
width: 30,
height: 50,
},
axisLabelLineOffset: -20,
- legendOffset: 35,
+ legendOffset: 33,
},
large: { // This covers both md and lg screen sizes
margin: {
@@ -25,15 +25,15 @@ export default {
left: 80,
},
legends: {
- width: 20,
- height: 30,
+ width: 15,
+ height: 3,
},
backgroundLegend: {
width: 30,
height: 150,
},
axisLabelLineOffset: 20,
- legendOffset: 38,
+ legendOffset: 36,
},
xTicks: 8,
yTicks: 3,