mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
This commit is contained in:
committed by
Torkel Ödegaard
parent
dd2192cccc
commit
e1a527a87a
@@ -57,7 +57,7 @@ function popoverSrv($compile, $rootScope, $timeout) {
|
||||
openOn: options.openOn,
|
||||
hoverCloseDelay: 200,
|
||||
tetherOptions: {
|
||||
constraints: [{to: 'scrollParent', attachment: "none both"}]
|
||||
constraints: [{to: 'scrollParent', attachment: 'together'}]
|
||||
}
|
||||
});
|
||||
|
||||
@@ -79,3 +79,4 @@ function popoverSrv($compile, $rootScope, $timeout) {
|
||||
}
|
||||
|
||||
coreModule.service('popoverSrv', popoverSrv);
|
||||
|
||||
|
||||
@@ -53,7 +53,8 @@ module.directive('graphLegend', function(popoverSrv, $timeout) {
|
||||
$timeout(function() {
|
||||
popoverSrv.show({
|
||||
element: el[0],
|
||||
position: 'bottom center',
|
||||
position: 'bottom left',
|
||||
targetAttachment: 'top left',
|
||||
template: '<series-color-picker series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected">' +
|
||||
'</series-color-picker>',
|
||||
openOn: 'hover',
|
||||
|
||||
Reference in New Issue
Block a user