Browse Source

series-color-picker -> series-color-picker-popover (#289)

master
rozetko 6 years ago committed by Alexey Velikiy
parent
commit
b44fbffc5e
  1. 2
      src/panel/graph_panel/graph_legend.ts
  2. 2
      src/panel/graph_panel/series_overrides_ctrl.ts

2
src/panel/graph_panel/graph_legend.ts

@ -46,7 +46,7 @@ export class GraphLegend {
position: 'bottom left',
targetAttachment: 'top left',
template:
'<series-color-picker series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected"/>',
'<series-color-picker-popover series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected"/>',
openOn: 'hover',
model: {
series: series,

2
src/panel/graph_panel/series_overrides_ctrl.ts

@ -54,7 +54,7 @@ export class SeriesOverridesCtrl {
element: $element.find('.dropdown')[0],
position: 'top center',
openOn: 'click',
template: '<series-color-picker series="series" onColorChange="colorSelected" />',
template: '<series-color-picker-popover series="series" onColorChange="colorSelected" />',
model: {
autoClose: true,
colorSelected: $scope.colorSelected,

Loading…
Cancel
Save