changeset 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 e89c1140f0a8
children fb46882fa08d
files client/src/components/fairway/Fairwayprofile.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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]);