grafana/public/app/plugins/panel/heatmap/display_editor.ts

23 lines
479 B
TypeScript
Raw Normal View History

2017-03-24 05:35:19 -05:00
export class HeatmapDisplayEditorCtrl {
panel: any;
panelCtrl: any;
/** @ngInject */
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() {
'use strict';
2017-03-24 05:35:19 -05:00
return {
restrict: 'E',
2017-03-24 05:35:19 -05:00
scope: true,
templateUrl: 'public/app/plugins/panel/heatmap/partials/display_editor.html',
controller: HeatmapDisplayEditorCtrl,
2017-03-24 05:35:19 -05:00
};
}