Mercurial > gemma
changeset 3522:320aa3b85152 waterlevel-in-crossprofile
client: fairway profiles: fixed waterlevel axis domain
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 29 May 2019 13:34:59 +0200 |
parents | 70cd7383325b |
children | 8a9ee18de13f |
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 Wed May 29 12:19:46 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed May 29 13:34:59 2019 +0200 @@ -527,8 +527,8 @@ let yScaleLeft = d3 .scaleLinear() .domain([ - this.refWaterlevels.LDC * 1.1, - this.refWaterlevels.LDC - yScaleRight.domain()[1] * 100 + this.refWaterlevels.LDC - this.maxAlt * 100, + this.refWaterlevels.LDC + this.maxAlt * 0.1 * 100 ]) .rangeRound([height, 0]);