module.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <div ng-controller='GraphCtrl'>
  2. <div class="graph-wrapper" ng-class="{'graph-legend-rightside': panel.legend.rightSide}">
  3. <div class="graph-canvas-wrapper">
  4. <div ng-if="datapointsWarning" class="datapoints-warning">
  5. <span class="small" ng-show="!datapointsCount">
  6. No datapoints <tip>No datapoints returned from metric query</tip>
  7. </span>
  8. <span class="small" ng-show="datapointsOutside">Datapoints outside time range <tip>Can be caused by timezone mismatch between browser and graphite server</tip></span>
  9. </div>
  10. <div grafana-graph class="histogram-chart">
  11. </div>
  12. </div>
  13. <div class="graph-legend-wrapper" ng-if="panel.legend.show" graph-legend></div>
  14. </div>
  15. <div class="clearfix"></div>
  16. <div style="margin-top: 30px" ng-if="editMode">
  17. <div class="dashboard-editor-header">
  18. <div class="dashboard-editor-title">
  19. <i class="icon icon-bar-chart"></i>
  20. Graph
  21. </div>
  22. <div ng-model="editor.index" bs-tabs>
  23. <div ng-repeat="tab in panelMeta.editorTabs" data-title="{{tab.title}}">
  24. </div>
  25. </div>
  26. </div>
  27. <div class="dashboard-editor-body">
  28. <div ng-repeat="tab in panelMeta.editorTabs" ng-if="editor.index === $index">
  29. <div ng-include src="tab.src"></div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>