Mercurial > gemma
changeset 2642:ffef5f89b31c
client: waterlevel diagram: changed diagram title and y-axis label
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 14 Mar 2019 12:40:52 +0100 |
parents | a735119e4f5c |
children | 27933e66e848 1a8123b8f75f |
files | client/src/components/gauge/Gauges.vue client/src/components/gauge/Waterlevel.vue |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/gauge/Gauges.vue Thu Mar 14 12:36:35 2019 +0100 +++ b/client/src/components/gauge/Gauges.vue Thu Mar 14 12:40:52 2019 +0100 @@ -129,7 +129,7 @@ let splitscreenConf = { id: "gauge-waterlevel", component: "waterlevel", - title: this.selectedGaugeName, + title: this.$gettext("Waterlevel") + ": " + this.selectedGaugeName, icon: "ruler-vertical", closeCallback: () => { this.$store.commit("gauges/selectedGaugeName", null);
--- a/client/src/components/gauge/Waterlevel.vue Thu Mar 14 12:36:35 2019 +0100 +++ b/client/src/components/gauge/Waterlevel.vue Thu Mar 14 12:40:52 2019 +0100 @@ -171,7 +171,7 @@ .call(xAxis); mainChart // label .append("text") - .text(this.$gettext("Waterlevels [cm]")) + .text(this.$gettext("Waterlevel [cm]")) .attr("text-anchor", "middle") .attr("transform", `translate(-45, ${mainHeight / 2}) rotate(-90)`); mainChart.append("g").call(yAxis);