mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fixes legend refreshing (#14150)
This commit is contained in:
parent
d869ceadde
commit
56cd3978c2
2 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,6 @@ export function VislibVisTypeProvider(Private) {
|
|||
this.vis.vislibVis.on('click', this.vis.API.events.filter);
|
||||
this.vis.vislibVis.on('renderComplete', resolve);
|
||||
this.vis.vislibVis.render(esResponse, this.vis.getUiState());
|
||||
this.vis.refreshLegend++;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@ uiModules
|
|||
return;
|
||||
}
|
||||
$scope.addLegend = $scope.vis.params.addLegend;
|
||||
$scope.vis.refreshLegend++;
|
||||
$timeout(renderFunction);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue