Mercurial > gemma
changeset 1076:e99b2b7d76a1
feat: fairwayprofile configurable scale-delta for profile added
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 26 Oct 2018 13:29:46 +0200 |
parents | c1989ebe1d8a |
children | 2ed3b4eaaab4 |
files | client/src/application/Main.vue |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/application/Main.vue Fri Oct 26 13:21:17 2018 +0200 +++ b/client/src/application/Main.vue Fri Oct 26 13:29:46 2018 +0200 @@ -43,6 +43,8 @@ import { mapGetters, mapState } from "vuex"; import debounce from "debounce"; +const DELTA = 0.2; + export default { name: "mainview", components: { @@ -88,7 +90,7 @@ return [this.yScaleLeft.lo, hi]; }, yAxisRight() { - return [this.maxAlt, -0.2]; + return [this.maxAlt * 1 + DELTA, -DELTA]; }, margins() { return this.margin;