| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | $(function() {    BWA.ChartOptions = BWA.ChartOptions || {};    var A = BWA.ChartOptions.MainDashBoard = BWA.ChartOptions.MainDashBoard || {};    A.getYearWaterUsageStatusChartOptions = 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: '수도 (%)',                position: 'bottom-center',                font: { size: 14 }            },//            value: 85,            subvalues: [90],            tooltip: {                enabled: true,                format: 'fixedPoint',                customizeTooltip: function () {                    return {                        text: ['수도: ', this.valueText,'%'].join('')                    };                }            }        }    };});
 |