4295387f498d8a7acb37b8a48e7bcc77cff7435f.svn-base 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. $(function() {
  2. BWA.ChartOptions = BWA.ChartOptions || {};
  3. BWA.ChartOptions.EnergySavingControl = BWA.ChartOptions.EnergySavingControl || {};
  4. BWA.ChartOptions.EnergySavingControl.getChartControlEnthalpyOptions = function (codeTimeType) {
  5. return {
  6. palette: "Bright",
  7. legend: {
  8. visible: true,
  9. verticalAlignment: 'top',
  10. horizontalAlignment: 'center'
  11. },
  12. //argumentAxis: BWA.Chart.getTimeLineArgumentAxis(null, codeTimeType),
  13. commonSeriesSettings: {
  14. argumentField: "DateTime",
  15. selectionStyle: {
  16. hatching: {
  17. direction: "left"
  18. }
  19. }
  20. },
  21. valueAxis: [{
  22. //type: 'continuous',
  23. //valueType: 'numeric',
  24. //tickInterval: 10,
  25. //valueMarginsEnabled: true,
  26. //minValueMargin: 0,
  27. //maxValueMargin: 0,
  28. //min:0, // 2016 03 09 요청사항 엔탈피가 -값도 있다
  29. title: {
  30. //text: '외기 엔탈피'
  31. text: '엔탈피'
  32. }
  33. },
  34. /* {
  35. name: 'air_enthalpy', // 공조기 엔탈피
  36. position: 'right',
  37. //valueMarginsEnabled: true,
  38. //minValueMargin: 0,
  39. //maxValueMargin: 0,
  40. label: {
  41. font: { color: '#c96374' },
  42. //visible: true,
  43. //format: 'largeNumber'
  44. },
  45. title: {
  46. text: '공조기 엔탈피'
  47. }
  48. }*/
  49. ],
  50. series: [{
  51. type: 'spline',
  52. name: '외기 엔탈피',
  53. argumentField: "DateTime",
  54. valueField: 'enthalpy', //
  55. label: {
  56. visible: false,
  57. },
  58. point: { size: 8 }
  59. }, {
  60. type: 'spline',
  61. name: '실내 엔탈피',
  62. argumentField: "DateTime",
  63. valueField: 'f_enthalpy',
  64. label: {
  65. visible: false,
  66. },
  67. point: { size: 8 }
  68. },
  69. ],
  70. tooltip: {
  71. enabled: true,
  72. format: 'fixedPoint',
  73. precision: 2,
  74. },
  75. };
  76. };
  77. });