2017-03-24 05:35:19 -05:00
|
|
|
export class HeatmapDisplayEditorCtrl {
|
|
|
|
panel: any;
|
|
|
|
panelCtrl: any;
|
|
|
|
|
|
|
|
/** @ngInject */
|
2019-06-19 12:59:03 -05:00
|
|
|
constructor($scope: any) {
|
2017-03-24 05:35:19 -05:00
|
|
|
$scope.editor = this;
|
|
|
|
this.panelCtrl = $scope.ctrl;
|
|
|
|
this.panel = this.panelCtrl.panel;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @ngInject */
|
|
|
|
export function heatmapDisplayEditor() {
|
2017-12-21 01:39:31 -06:00
|
|
|
'use strict';
|
2017-03-24 05:35:19 -05:00
|
|
|
return {
|
2017-12-21 01:39:31 -06:00
|
|
|
restrict: 'E',
|
2017-03-24 05:35:19 -05:00
|
|
|
scope: true,
|
2017-12-21 01:39:31 -06:00
|
|
|
templateUrl: 'public/app/plugins/panel/heatmap/partials/display_editor.html',
|
|
|
|
controller: HeatmapDisplayEditorCtrl,
|
2017-03-24 05:35:19 -05:00
|
|
|
};
|
|
|
|
}
|