editor.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <div>
  2. <div class="row-fluid">
  3. <div class="span3">
  4. <label class="small">Style</label>
  5. <select class="input-small" ng-model="panel.chart" ng-options="f for f in ['bar','pie','list','total']"></select></span>
  6. </div>
  7. <div class="span2" ng-show="panel.chart == 'total' || panel.chart == 'list'">
  8. <label class="small">Font Size</label>
  9. <select class="input-mini" ng-model="panel.style['font-size']" ng-options="f for f in ['7pt','8pt','9pt','10pt','12pt','14pt','16pt','18pt','20pt','24pt','28pt','32pt','36pt','42pt','48pt','52pt','60pt','72pt']"></select></span>
  10. </div>
  11. <div class="span3" ng-show="panel.chart == 'bar' || panel.chart == 'pie'">
  12. <label class="small">Legend</label>
  13. <select class="input-small" ng-model="panel.counter_pos" ng-options="f for f in ['above','below','none']"></select></span>
  14. </div>
  15. <div class="span3" ng-show="panel.chart != 'total' && panel.counter_pos != 'none'">
  16. <label class="small" >List Format</label>
  17. <select class="input-small" ng-model="panel.arrangement" ng-options="f for f in ['horizontal','vertical']"></select></span>
  18. </div>
  19. <div class="span1" ng-show='panel.chart == "pie"'>
  20. <label class="small">Donut</label><input type="checkbox" ng-model="panel.donut" ng-checked="panel.donut">
  21. </div>
  22. <div class="span1" ng-show='panel.chart == "pie"'>
  23. <label class="small">Tilt</label><input type="checkbox" ng-model="panel.tilt" ng-checked="panel.tilt">
  24. </div>
  25. <div class="span1" ng-show='panel.chart == "pie"'>
  26. <label class="small">Labels</label><input type="checkbox" ng-model="panel.labels" ng-checked="panel.labels">
  27. </div>
  28. </div>
  29. <div class="row-fluid" ng-include="'partials/querySelect.html'"></div>
  30. <h5>Panel Spy</h5>
  31. <div class="row-fluid">
  32. <div class="span2">
  33. <label class="small">Spyable</label><input type="checkbox" ng-model="panel.spyable" ng-checked="panel.spyable">
  34. </div>
  35. <div class="span9 small">
  36. The panel spy shows 'behind the scenes' information about a panel. It can
  37. be accessed by clicking the <i class='icon-eye-open'></i> in the top right
  38. of the panel.
  39. </div>
  40. </div>
  41. </div>