1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- $(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,
- },
- };
- };
- });
|