diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js
index 5ae274d735..95a36ed681 100644
--- a/pandora_console/include/graphs/flot/pandora.flot.js
+++ b/pandora_console/include/graphs/flot/pandora.flot.js
@@ -39,7 +39,7 @@ function pandoraFlotPie(graph_id, values, labels, nseries, width, font_size, wat
},
background: {
opacity: 0.5,
- color: '#000'
+ color: ''
}
};
}
@@ -103,7 +103,7 @@ function pandoraFlotPie(graph_id, values, labels, nseries, width, font_size, wat
index = obj.seriesIndex;
legends.css('color', '#3F3F3D');
- legends.eq(index).css('color', '#000000');
+ legends.eq(index).css('color', '');
}
// Reset styles
@@ -153,7 +153,7 @@ function pandoraFlotPieCustom(graph_id, values, labels, width,
},
background: {
opacity: 0.5,
- color: '#000'
+ color: ''
}
};
@@ -225,7 +225,7 @@ function pandoraFlotPieCustom(graph_id, values, labels, width,
index = obj.seriesIndex;
legends.css('color', '#3F3F3D');
- legends.eq(index).css('color', '#000000');
+ legends.eq(index).css('color', '');
}
function Clickpie(event, pos, obj) {
@@ -317,7 +317,7 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark,
axisLabelPadding: 3,
ticks: yFormatter,
tickSize: 1,
- color: '#000',
+ color: '',
},
legend: {
show: false
@@ -612,7 +612,7 @@ function pandoraFlotVBars(graph_id, values, labels, labels_long, legend, colors,
},
legend: {
noColumns: 100,
- labelBoxBorderColor: "#000000",
+ labelBoxBorderColor: "",
margin: 100,
container: true,
sorted: false
@@ -711,7 +711,7 @@ function pandoraFlotVBars(graph_id, values, labels, labels_long, legend, colors,
}
function lFormatter(v, axis) {
- return '
'+v+'
';
+ return ''+v+'
';
}
// Events
@@ -765,12 +765,12 @@ function pandoraFlotSlicebar(graph_id, values, datacolor, labels, legend, acumul
hoverable: true,
clickable: true,
borderWidth:1,
- borderColor: '#000',
+ borderColor: '',
tickColor: '#fff'
},
xaxes: [ {
tickFormatter: xFormatter,
- color: '#000',
+ color: '',
tickSize: intervaltick,
tickLength: 0
} ],
@@ -1541,12 +1541,12 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
axisLabel: xaxisname,
tickFormatter: xFormatter,
minTickSize: steps,
- color: '#000',
+ color: '',
font: font
} ],
yaxes: [ {
tickFormatter: yFormatter,
- color: '#000'
+ color: ''
},
{
// align if we are to the right
@@ -1608,7 +1608,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
xaxes: [ {
tickFormatter: xFormatter,
minTickSize: steps,
- color: '#000'
+ color: ''
} ],
yaxis: {ticks: [], autoscaleMargin: 0.1 },
selection: {mode: 'x', color: '#777' },
@@ -1636,7 +1636,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
xaxes: [ {
tickFormatter: xFormatter,
minTickSize: new_steps,
- color: '#000'
+ color: ''
} ],
legend: { show: false }
}));
@@ -1760,7 +1760,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
.eq(i).css('font-size',font_size+'pt');
$('#legend_' + graph_id + ' .legendLabel')
- .eq(i).css('color','#000');
+ .eq(i).css('color','');
//~ $('#legend_' + graph_id + ' .legendLabel')
//~ .eq(i).css('font-family',font+'Font');
@@ -1880,9 +1880,9 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
}
function lFormatter(v, item) {
- return ''+v+'
';
+ return ''+v+'
';
// Prepared to turn series with a checkbox
- //return ''+v+'
';
+ //return ''+v+'
';
}
// Used to export the graph data to a file.
diff --git a/pandora_console/operation/visual_console/render_view.php b/pandora_console/operation/visual_console/render_view.php
index 68d684872a..154055b0eb 100755
--- a/pandora_console/operation/visual_console/render_view.php
+++ b/pandora_console/operation/visual_console/render_view.php
@@ -283,5 +283,14 @@ $ignored_params['refr'] = '';
$(this).css('left', left);
});
+ $(".parent_graph").each(function(){
+ if($(this).css('background-color') != 'rgb(255, 255, 255)'){
+ $(this).css('color', 'red');
+
+ }
+ });
+
+
+
});