$(function () { BWA.ChartOptions = BWA.ChartOptions || {}; var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {}; A.getReturnEfficiencyChartOptions = function (codeTimeType) { return { palette: 'Vintage', legend: { visible: false }, argumentAxis: { // x 축 title: { text: '냉각수 순환펌프 소비전력량' } }, valueAxis: { // Y 축 title: { text: '냉방 능력' } }, series: { type: 'scatter', valueField: 'CoolAbty', // y value argumentField: 'pkwh', // 부하율 x value label: { visible: false, //customizeText: function() { // return this.argumentField + this.valueText; //} }, point: { size: 8 } }, 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, } } } }; }; });