Mercurial > gemma
changeset 4653:8efc6b3289f3 stree-experiment
Merged default into stree-experiment branch.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 14 Oct 2019 12:26:00 +0200 |
parents | f5492fda097c (current diff) e9a99e81f723 (diff) |
children | 3eda5a7215ab |
files | |
diffstat | 1 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Mon Oct 14 12:25:32 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Mon Oct 14 12:26:00 2019 +0200 @@ -544,10 +544,20 @@ ]) .rangeRound([height, 0]); - let xAxis = d3.axisBottom(xScale).ticks(5); - let yAxisRight = d3.axisRight(yScaleRight); + let xAxis = d3 + .axisBottom(xScale) + .tickSizeOuter(0) + .ticks(5); + let yAxisRight = d3 + .axisRight() + .tickSizeOuter(0) + .tickSizeInner(5) + .scale(yScaleRight); let yAxisLeft = d3 - .axisLeft(yScaleLeft) + .axisLeft() + .tickSizeOuter(0) + .tickSizeInner(5) + .scale(yScaleLeft) .tickFormat(d => this.$options.filters.waterlevel(d)); let graph = svg