Remove total transparency fix

If the legend has a totally transparent background it’s difficult to
read when the chart lines lie under it.  This approaches fixes the
coloring but leaves the opacity in tact.
This commit is contained in:
Stacey-Gammon 2016-09-19 15:01:21 -04:00
parent 6e94ff5e45
commit a62b1f0576
2 changed files with 4 additions and 1 deletions

View file

@ -52,7 +52,6 @@ module.exports = function timechartFn(Private, config, $rootScope, timefilter, $
},
legend: {
backgroundColor: null,
backgroundOpacity: 0,
position: 'nw',
labelBoxBorderColor: 'rgb(255,255,255,0)',
labelFormatter: function (label, series) {

View file

@ -316,6 +316,10 @@
// /src/ui/public/vislib/styles/_legend.less
.legend {
background-color: @dashboard-panel-bg;
}
.legend-col-wrapper {
.legend-ul {