8ead27d7d50043609bbb80614eaa6ff5e14067b8.svn-base 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. $(function () {
  2. BWA.ChartOptions = BWA.ChartOptions || {};
  3. var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {};
  4. A.getReturnEfficiencyChartOptions = function (codeTimeType) {
  5. return {
  6. palette: 'Vintage',
  7. legend: {
  8. visible: false
  9. },
  10. argumentAxis: { // x 축
  11. title: {
  12. text: '냉각수 순환펌프 소비전력량'
  13. }
  14. },
  15. valueAxis: { // Y 축
  16. title: {
  17. text: '냉방 능력'
  18. }
  19. },
  20. series: {
  21. type: 'scatter',
  22. valueField: 'CoolAbty', // y value
  23. argumentField: 'pkwh', // 부하율 x value
  24. label: {
  25. visible: false,
  26. //customizeText: function() {
  27. // return this.argumentField + this.valueText;
  28. //}
  29. },
  30. point: { size: 8 }
  31. },
  32. tooltip: {
  33. enabled: true,
  34. },
  35. crosshair: {
  36. enabled: true,
  37. width: 2,
  38. horizontalLine: {
  39. color: 'red',
  40. dashStyle: 'dash',
  41. visible: true
  42. },
  43. verticalLine: {
  44. color: 'red',
  45. dashStyle: 'dash',
  46. visible: true
  47. },
  48. label: {
  49. visible: true,
  50. backgroundColor: "#949494",
  51. font: {
  52. color: "#fff",
  53. size: 12,
  54. }
  55. }
  56. }
  57. };
  58. };
  59. });