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', position: 'bottom left',
targetAttachment: 'top left', targetAttachment: 'top left',
template: template:
'<series-color-picker series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected"/>', '<series-color-picker-popover series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected"/>',
openOn: 'hover', openOn: 'hover',
model: { model: {
series: series, series: series,

2
src/panel/graph_panel/series_overrides_ctrl.ts

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

Loading…
Cancel
Save