analytics.gantt.html 757 B

1234567891011121314151617181920212223242526
  1. <div id="placeholder" class="chart-placeholder"></div>
  2. <div class="form-group"><label class="col-sm-1 control-label" for="textareaGantt">Config</label>
  3. <div class="col-sm-11">
  4. <textarea class="form-control" id="textareaGantt" name="gantt" rows="5">
  5. {
  6. "bands": [
  7. {
  8. "t1": "_thrRTime[0]",
  9. "t2": "_thrRTime[-1]",
  10. "band": "_thread",
  11. "color": "1",
  12. "colorScale": "colors1"
  13. }
  14. ],
  15. "scales": {
  16. "colors1": "linear().domain([-1,0,1]).range(['red','black','green'])",
  17. "colors2": "ordinal().domain(['VALUE1','VALUE2']).range(['blue','yellow'])"
  18. }
  19. }
  20. </textarea>
  21. </div>
  22. </div>
  23. <div class="form-group">
  24. <div class="col-sm-offset-1 col-sm-11"><button class="btn btn-default" id="gantt-apply">Apply</button></div>
  25. </div>