diff client/src/components/fairway/AvailableFairwayDepth.vue @ 3905:3c095749efb2

client: available fairwaydepth diagrams: emphasize 0-ticks
author Markus Kottlaender <markus@intevation.de>
date Wed, 10 Jul 2019 17:01:36 +0200
parents 7e519a11de4e
children 2e7f191bba27
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Wed Jul 10 16:47:00 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Wed Jul 10 17:01:36 2019 +0200
@@ -592,7 +592,13 @@
         })
         .selectAll(".tick line")
         .attr("stroke-dasharray", 5)
-        .attr("stroke", "#ccc");
+        .attr("stroke", "#ccc")
+        .select(function() {
+          return this.parentNode;
+        })
+        .filter(d => d === 0)
+        .selectAll(".tick line")
+        .attr("stroke", "#333");
       this.diagram
         .append("g")
         .attr(