123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- $(function() {
- BWA.ChartOptions = BWA.ChartOptions || {};
- var A = BWA.ChartOptions.RefrigeratorAnalysis = BWA.ChartOptions.RefrigeratorAnalysis || {};
- A.getElectricityLoadRateChartOptions = function(codeTimeType) {
- return {
- palette: "Soft Pastel",
- legend: {
- visible: false
- },
- argumentAxis: {
- max: 100,
- min: 0,
- title: {
- text: $G('loadRateWithUnit')
- }
- },
- valueAxis: {
- title: {
- //text: $G('consumptionElectricity')
- text: '소비전력량 (kWh)'
- }
- },
- series: {
- type: 'scatter',
- valueField: 'EV', // 소비전력
- argumentField: 'LoadRate', // 부하율
- 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,
- }
- }
- }
- };
- };
- });
|