From ac286a438c1d7524cdb2fdffcc86d13584d48fc2 Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 5 Apr 2021 11:41:36 +0200 Subject: [PATCH] set labels white color on module interval svg --- pandora_console/include/javascript/pandora.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index a5d68011f0..a9a742f0cd 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -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");