$(function () { BWA.ChartOptions = BWA.ChartOptions || {}; var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {}; var valueAxise2 = { //pane: 'topPane', name: 'eff', position: 'right', //valueMarginsEnabled: true, //minValueMargin: 0, //maxValueMargin: 0, //min: -20, //max: 40, label: { font: { color: '#00A7C6' }, visible: true, //format: 'largeNumber' }, title: { text: '효율 (%)' } } var series2 = { type: 'spline', color: '#00A7C6', //pane: 'topPane', axis: 'eff', valueField: 'eff', point: { size: 4 }, //name: $G('outdoorTemperature'), label: { visible: false, font: { color: '#00A7C6', }, customizeText: function () { return '효율 (%)'; } } } /* C.getSeriesOptions = function (k) { return { }; };*/ A.getEFFSWChartOptions = function (codeTimeType) { return { palette: "Soft", legend: { visible: false }, //argumentAxis: BWA.Chart.getTimeLineArgumentAxis(moment(), codeTimeType), commonSeriesSettings: { argumentField: "DateTime", argumentType: 'string', selectionStyle: { hatching: { direction: "left" } } }, valueAxis: [{ title: { text: '보급수 유량 (m3/h)' } //}].concat(valueAxise2), }], series: [{ type: 'bar', valueField: 'sw', argumentField: 'DateTime', label: { visible: false, //customizeText: function() { // return this.argumentField + this.valueText; //} }, point: { size: 8 } }].concat(series2), tooltip: { enabled: true, }, crosshair: { enabled: true, width: 2, horizontalLine: { color: 'red', dashStyle: 'dash', visible: true }, verticalLine: { color: 'red', dashStyle: 'dash', visible: true }, label: { visible: true, backgroundColor: "#949494", font: { color: "#fff", size: 12, } } } }; }; });