$(function() { "use strict"; BWA.ChartOptions = BWA.ChartOptions || {}; var A = BWA.ChartOptions.CenterMainDashboard = BWA.ChartOptions.CenterMainDashboard || {}; A.getYearElectricityUsageStatusChartOptions = function() { return { palette: 'Pastel', scale: { startValue: 0, endValue: 150, majorTick: { // color: '#536878', tickInterval: 10 }, label: { indentFromTick: 3 } }, rangeContainer: { ranges: [ { startValue: 0, endValue: 90, color: '#77DD77' }, { startValue: 90, endValue: 100, color: 'orange' }, { startValue: 100, endValue: 150, color: '#92000A' } ] }, valueIndicator: { type: 'twoColorNeedle' }, title: { text: '전기 (%)', color:'gray', position: 'bottom-center', font: { size: 14, color:'gray' } }, subvalues: [90] }; }; });