a736563c966abf0fc52821e8f55f5ef65b4f6fb9.svn-base 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. $(function() {
  2. BWA.ChartOptions = BWA.ChartOptions || {};
  3. var A = BWA.ChartOptions.CenterMainDashboard = BWA.ChartOptions.CenterMainDashboard || {};
  4. A.getYearGasUsageStatusChartOptions = function() {
  5. return {
  6. palette: 'Pastel',
  7. scale: {
  8. startValue: 0, endValue: 150,
  9. majorTick: {
  10. // color: '#536878',
  11. tickInterval: 10
  12. },
  13. label: {
  14. indentFromTick: 3
  15. }
  16. },
  17. rangeContainer: {
  18. ranges: [
  19. { startValue: 0, endValue: 90, color: '#77DD77' },
  20. { startValue: 90, endValue: 100, color: 'orange' },
  21. { startValue: 100, endValue: 150, color: '#92000A' }
  22. ]
  23. },
  24. valueIndicator: {
  25. type: 'twoColorNeedle'
  26. },
  27. title: {
  28. text: '가스 (%)',
  29. position: 'bottom-center',
  30. font: { size: 14, color: 'gray' }
  31. },
  32. subvalues: [90]
  33. };
  34. };
  35. });