$(function() { BWA.ChartOptions = BWA.ChartOptions || {}; BWA.ChartOptions.EnergySavingControl = BWA.ChartOptions.EnergySavingControl || {}; BWA.ChartOptions.EnergySavingControl.getChartControlEnthalpyOptions = function (codeTimeType) { return { palette: "Bright", legend: { visible: true, verticalAlignment: 'top', horizontalAlignment: 'center' }, //argumentAxis: BWA.Chart.getTimeLineArgumentAxis(null, codeTimeType), commonSeriesSettings: { argumentField: "DateTime", selectionStyle: { hatching: { direction: "left" } } }, valueAxis: [{ //type: 'continuous', //valueType: 'numeric', //tickInterval: 10, //valueMarginsEnabled: true, //minValueMargin: 0, //maxValueMargin: 0, //min:0, // 2016 03 09 요청사항 엔탈피가 -값도 있다 title: { //text: '외기 엔탈피' text: '엔탈피' } }, /* { name: 'air_enthalpy', // 공조기 엔탈피 position: 'right', //valueMarginsEnabled: true, //minValueMargin: 0, //maxValueMargin: 0, label: { font: { color: '#c96374' }, //visible: true, //format: 'largeNumber' }, title: { text: '공조기 엔탈피' } }*/ ], series: [{ type: 'spline', name: '외기 엔탈피', argumentField: "DateTime", valueField: 'enthalpy', // label: { visible: false, }, point: { size: 8 } }, { type: 'spline', name: '실내 엔탈피', argumentField: "DateTime", valueField: 'f_enthalpy', label: { visible: false, }, point: { size: 8 } }, ], tooltip: { enabled: true, format: 'fixedPoint', precision: 2, }, }; }; });