changeset 3878:1ff97bb72a24 improve-fwa-diagrams

client: available fairway depth diagrams: made more space for tick labels
author Markus Kottlaender <markus@intevation.de>
date Fri, 21 Jun 2019 10:59:15 +0200
parents d82b5e5868e3
children 20be498adaf7
files client/src/components/fairway/AvailableFairwayDepth.vue
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Fri Jun 21 10:19:40 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Fri Jun 21 10:59:15 2019 +0200
@@ -99,7 +99,7 @@
       height: 600,
       labelPaddingBottom: 10,
       scalePaddingLeft: 50,
-      scalePaddingRight: 25,
+      scalePaddingRight: 30,
       paddingTop: 10,
       diagram: null,
       yScale: null,
@@ -682,7 +682,7 @@
         .call(yAxisLeft)
         .selectAll(".tick text")
         .attr("fill", "black")
-        .attr("dx", -6)
+        .attr("dx", -3)
         .select(function() {
           return this.parentNode;
         })
@@ -695,7 +695,7 @@
         .call(yAxisRight)
         .selectAll(".tick text")
         .attr("fill", "black")
-        .attr("dx", 6)
+        .attr("dx", 3)
         .select(function() {
           return this.parentNode;
         })