set labels white color on module interval svg

This commit is contained in:
marcos 2021-04-05 11:41:36 +02:00
parent 321fc8aa05
commit ac286a438c

View File

@ -1609,6 +1609,7 @@ function paint_graph_status(
svg
.append("g")
.attr("transform", "translate(100, 150)")
.attr("class", "invert_filter")
.call(yAxis);
//legend Normal text
@ -1623,6 +1624,7 @@ function paint_graph_status(
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
.html(legend_normal)
.style("text-anchor", "first")
.attr("width", 300)
@ -1649,6 +1651,7 @@ function paint_graph_status(
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
.html(legend_warning)
.style("text-anchor", "first");
@ -1673,6 +1676,7 @@ function paint_graph_status(
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
.html(legend_critical)
.style("text-anchor", "first");