module.html 1.1 KB

1234567891011121314151617
  1. <kibana-panel ng-controller='histogram' ng-init="init()" style="height:{{panel.height || row.height}}">
  2. <span ng-show="panel.spyable" style="position:absolute;right:0px;top:0px" class='panelextra pointer'>
  3. <i bs-modal="'partials/modal.html'" class="icon-eye-open"></i>
  4. </span>
  5. <div>
  6. <span ng-show='panel.zoomlinks && data'>
  7. <a class='small' ng-click='zoom(0.5)'><i class='icon-zoom-in'></i> Zoom In</a>
  8. <a class='small' ng-click='zoom(2)'><i class='icon-zoom-out'></i> Zoom Out</a>
  9. </span> |
  10. <span ng-show="panel.legend" ng-repeat='series in legend' style='display:inline-block;padding-right:5px'>
  11. <div style="display:inline-block;background:{{series.color}};height:10px;width:10px"></div>
  12. <div class='small' style='display:inline-block'>{{series.label}} ({{series.hits}})</div>
  13. </span><span class="small"> per <strong>{{panel.interval}}</strong> | (<strong>{{hits}}</strong> total)</span>
  14. </div>
  15. <center><img ng-show='panel.loading && _.isUndefined(data)' src="common/img/load_big.gif"></center>
  16. <div histogram-chart params="{{panel}}" style="height:{{panel.height || row.height}};position:relative"></div>
  17. </kibana-panel>