mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(graph panel): fix for graph panel alignment when legend is in table mode, fixes #4772
This commit is contained in:
parent
fa479afdaa
commit
45dd9c5795
@ -73,7 +73,7 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
|
||||
var legendSeries = _.filter(data, function(series) {
|
||||
return series.hideFromLegend(panel.legend) === false;
|
||||
});
|
||||
var total = 23 + (22 * legendSeries.length);
|
||||
var total = 23 + (21 * legendSeries.length);
|
||||
return Math.min(total, Math.floor(panelHeight/2));
|
||||
} else {
|
||||
return 26;
|
||||
|
Loading…
Reference in New Issue
Block a user