123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- $(function() {
- BWA.ChartOptions = BWA.ChartOptions || {};
- var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {};
-
- var valueAxise2 = {
- //pane: 'topPane',
- name: 'load',
- position: 'right',
- //valueMarginsEnabled: true,
- //minValueMargin: 0,
- //maxValueMargin: 0,
- //min: -20,
- //max: 40,
- label: {
- font: { color: '#c96374' },
- visible: true,
- //format: 'largeNumber'
- },
- title: {
- text: '부하율 (%)'
- }
- }
- var series2 = {
- type: 'scatter',
- color: '#c96374',
- //pane: 'topPane',
- axis: 'load',
- valueField: 'load',
- point: { size: 8, symbol: 'triangle' },
- name: '부하율',
- label: {
- visible: false,
- font: { color: '#c96374', },
- customizeText: function () {
- return '부하율' + '%';
- }
- }
- }
- /*
- C.getSeriesOptions = function (k) {
- return {
- };
- };*/
- A.getTemperatureCopChartOptions = function(codeTimeType) {
- return {
- palette: "Bright",
- legend: {
- visible: false,
- verticalAlignment: 'top',
- horizontalAlignment: 'center'
- },
- argumentAxis: {
- //max: 60,
- //min: 0,
- title: $G('coolingWaterInputTemperatureWithUnit')
- },
- commonSeriesSettings: {
- argumentField: "Temperature",
- selectionStyle: {
- hatching: {
- direction: "left"
- }
- }
- },
- valueAxis: [{
- title: {
- text: '냉동기 COP'
- }
- //}].concat(valueAxise2),
- }],
- series: [{
- type: 'scatter',
- valueField: 'Cop',
- argumentField: 'Temperature',
- name:'냉동기 COP',
- 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,
- }
- }
- }
- };
- };
- });
|