6c0e99b49fdaff617678b94dd19947ddfda36b01.svn-base 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. $(function () {
  2. BWA.ChartOptions = BWA.ChartOptions || {};
  3. var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {};
  4. A.getCopLoadRateChartOptions = function (codeTimeType) {
  5. return {
  6. palette: 'Bright',
  7. legend: {
  8. visible: false
  9. },
  10. argumentAxis: {
  11. max: 100,
  12. min: 0,
  13. title: {
  14. text: $G('loadRateWithUnit')
  15. }
  16. },
  17. valueAxis: {
  18. title: {
  19. text: '냉동기 COP'
  20. }
  21. },
  22. /*ㅇㄹㄴㅇ*/
  23. series: {
  24. type: 'scatter',
  25. valueField: 'cop',
  26. argumentField: 'LoadRate', // 부하율
  27. label: {
  28. visible: false,
  29. //customizeText: function() {
  30. // return this.argumentField + this.valueText;
  31. //}
  32. },
  33. point: { size: 8 }
  34. },
  35. tooltip: {
  36. enabled: true,
  37. },
  38. crosshair: {
  39. enabled: true,
  40. width: 2,
  41. horizontalLine: {
  42. color: 'red',
  43. dashStyle: 'dash',
  44. visible: true
  45. },
  46. verticalLine: {
  47. color: 'red',
  48. dashStyle: 'dash',
  49. visible: true
  50. },
  51. label: {
  52. visible: true,
  53. backgroundColor: "#949494",
  54. font: {
  55. color: "#fff",
  56. size: 12,
  57. }
  58. }
  59. }
  60. };
  61. };
  62. });