tripnomics_7.5.5/public/app/plugins/panel/graph/template.ts
venbatechnologies@gmail.com 91fce5c4bf Initial commit
2021-07-05 13:49:40 +05:30

23 lines
717 B
TypeScript

const template = `
<div class="graph-panel" ng-class="{'graph-panel--legend-right': ctrl.panel.legend.rightSide}">
<div class="graph-panel__chart" grafana-graph ng-dblclick="ctrl.zoomOut()">
</div>
<div class="graph-legend">
<div class="graph-legend-content" graph-legend></div>
</div>
<div ng-if="ctrl.contextMenuCtrl.isVisible">
<graph-context-menu
items="ctrl.contextMenuCtrl.menuItemsSupplier()"
onClose="ctrl.onContextMenuClose"
getContextMenuSource="ctrl.contextMenuCtrl.getSource"
timeZone="ctrl.getTimeZone()"
x="ctrl.contextMenuCtrl.position.x"
y="ctrl.contextMenuCtrl.position.y"
></graph-context-menu>
</div>
</div>
`;
export default template;