diff client/src/components/fairway/Fairwayprofile.vue @ 4885:558668c32949

fairway_profile: adjusted scaling factor for left scale
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 03 Feb 2020 16:00:04 +0100
parents 6b054b91d9b2
children af38a19f615a
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Mon Feb 03 14:00:26 2020 +0100
+++ b/client/src/components/fairway/Fairwayprofile.vue	Mon Feb 03 16:00:04 2020 +0100
@@ -655,8 +655,8 @@
         .scaleLinear()
         .domain([
           this.waterlevel -
-            (this.maxAlt * 100 + (this.waterlevel - this.refWaterlevel)),
-          this.waterlevel + this.maxAlt * 0.1 * 100
+            (this.maxAlt * 110 + (this.waterlevel - this.refWaterlevel)),
+          this.waterlevel + this.maxAlt * 10
         ])
         .rangeRound([height, 0]);