mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
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:
parent
6e94ff5e45
commit
a62b1f0576
2 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -316,6 +316,10 @@
|
|||
|
||||
|
||||
// /src/ui/public/vislib/styles/_legend.less
|
||||
.legend {
|
||||
background-color: @dashboard-panel-bg;
|
||||
}
|
||||
|
||||
.legend-col-wrapper {
|
||||
|
||||
.legend-ul {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue