Mercurial > gemma
comparison client/src/components/gauge/Waterlevel.vue @ 4150:40bd6854a294
waterlevel_diagram: make dot initially invisible
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 02 Aug 2019 11:53:20 +0200 |
parents | 6095e95db454 |
children | 7c44af0b9370 |
comparison
equal
deleted
inserted
replaced
4149:f543f9d4a0b5 | 4150:40bd6854a294 |
---|---|
941 diagram | 941 diagram |
942 .append("g") | 942 .append("g") |
943 .attr("class", "chart-dots") | 943 .attr("class", "chart-dots") |
944 .append("circle") | 944 .append("circle") |
945 .attr("class", "chart-dot") | 945 .attr("class", "chart-dot") |
946 .attr("opacity", 0) | |
946 .attr("r", 4); | 947 .attr("r", 4); |
947 | 948 |
948 // create container for the tooltip | 949 // create container for the tooltip |
949 const tooltip = diagram.append("g").attr("class", "chart-tooltip"); | 950 const tooltip = diagram.append("g").attr("class", "chart-tooltip"); |
950 tooltip | 951 tooltip |