| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 | 
							- $(function () {
 
-     BWA.ChartOptions = BWA.ChartOptions || {};
 
-     var seriesBudgetCode;
 
-     BWA.ChartOptions.DailyCheckReport = {
 
-         MakeSeries: function (CodeType) {
 
-             seriesBudgetCode = new Array();
 
-             for (var s = 2; s < CodeType.length; s++) {
 
-                 var ss = {
 
-                     type: 'stackedBar',
 
-                     //valueField: CodeType[s].Name() + "누적",
 
-                     valueField: CodeType[s].Name(),
 
-                     name: CodeType[s].Name(),
 
-                     label: {
 
-                         visible: false,
 
-                         customizeText: function () {
 
-                             return this.valueText + '건';
 
-                         }
 
-                     }
 
-                 };
 
-                 seriesBudgetCode.push(ss);
 
-             }
 
-         },
 
-         getPieChartDayOptions: function () {
 
-             return _.extend({
 
-                 palette: "Pastel",
 
-             }, BWA.ChartOptions.DailyCheckReport.getPieChartOptions());
 
-         },
 
-         getBarChartDayOptions: function () {
 
-             return _.extend({
 
-                 palette: "Pastel",
 
-             }, BWA.ChartOptions.DailyCheckReport.getBarChartOptions());
 
-         },
 
-         getPieChartOptions: function () {
 
-             return {
 
-                 legend: {
 
-                     horizontalAlignment: "right",
 
-                     verticalAlignment: "top",
 
-                     margin: 10,
 
-                     border: {
 
-                         visible: true
 
-                     }
 
-                 },
 
-                 tooltip: {
 
-                     enabled: true,
 
-                     format: 'fixedPoint',
 
-                     precision: 0,
 
-                     customizeTooltip: function (point) {
 
-                         return {
 
-                             text: [this.argumentText, ': ', this.valueText].join('')
 
-                         };
 
-                     }
 
-                 },
 
-                 series: [
 
-                     {
 
-                         type: "doughnut",  // if not, pie.
 
-                         argumentField: "FuelTypeName",
 
-                         argumentType: "string",
 
-                         valueField: "Value",
 
-                         hoverStyle: {
 
-                             color: "#ffd700"
 
-                         },
 
-                         label: {
 
-                             visible: false,
 
-                             connector: {
 
-                                 visible: true
 
-                             },
 
-                             customizeText: function (pointInfo) {
 
-                                 return pointInfo.argumentText;
 
-                             }
 
-                         }
 
-                     }
 
-                 ]
 
-             };
 
-         },
 
-         getBarChartOptions: function () {
 
-             return {
 
-                 legend: {
 
-                     visible: false,
 
-                     verticalAlignment: 'center',
 
-                     horizontalAlignment: 'right',
 
-                     border: {
 
-                         visible: true
 
-                     }
 
-                 },
 
- /*
 
-                 argumentAxis: argumentAxis,
 
-                 commonSeriesSettings: {
 
-                     //type: 'stackedBar',
 
-                     argumentField: 'DateTime',
 
-                     selectionStyle: {
 
-                         hatching: {
 
-                             direction: "left"
 
-                         }
 
-                     }
 
-                 }, */
 
-                 commonSeriesSettings: {
 
-                     argumentField: "PType",
 
-                 },
 
-                 valueAxis: [{
 
-                     label: {
 
-                         //format: 'thousands'
 
-                         //precision: 2
 
-                     },
 
-                     title: {
 
-                         text: '건'
 
-                     }
 
-                 }],
 
-                 series: seriesBudgetCode,
 
-                 tooltip: {
 
-                     enabled: true,
 
-                     format: 'fixedPoint',
 
-                     precision: 0,
 
-                     customizeTooltip: function(point) {
 
-                         return {
 
-                             text: [this.seriesName, ': ', this.valueText].join('')
 
-                         };
 
-                     }
 
-                 },
 
-             };
 
-         },
 
-     };
 
- });
 
 
  |