comparison client/src/components/fairway/AvailableFairwayDepth.vue @ 3282:707d4435aff3

redraw diagram on change of data
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 16 May 2019 10:01:16 +0200
parents 8fb81b45085f
children aac1ca73e92a
comparison
equal deleted inserted replaced
3281:439e1865a2d2 3282:707d4435aff3
528 .selectAll(".tick line") 528 .selectAll(".tick line")
529 .attr("stroke", "black"); 529 .attr("stroke", "black");
530 this.diagram.selectAll(".domain").attr("stroke", "black"); 530 this.diagram.selectAll(".domain").attr("stroke", "black");
531 } 531 }
532 }, 532 },
533 watch: {
534 fwData() {
535 this.drawDiagram();
536 }
537 },
533 LEGEND: app.$gettext("Sum of days"), 538 LEGEND: app.$gettext("Sum of days"),
534 COLORS: { 539 COLORS: {
535 LDC: "#FF855E", 540 LDC: "#FF855E",
536 HIGHEST: "#2D84B3", 541 HIGHEST: "#2D84B3",
537 REST: ["#FF424F", "#FF737C", "#FF99A0"] 542 REST: ["#FF424F", "#FF737C", "#FF99A0"]