1234567891011121314151617181920212223242526272829303132333435363738 |
- $(function() {
- BWA.ChartOptions = BWA.ChartOptions || {};
- var A = BWA.ChartOptions.CenterMainDashboard = BWA.ChartOptions.CenterMainDashboard || {};
- 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]
- }
- };
- });
|