9928275d505b426231a68f2f62214119243662e0.svn-base 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. $(function() {
  2. BWA.ChartOptions = BWA.ChartOptions || {};
  3. var A = BWA.ChartOptions.CenterMainDashboard = BWA.ChartOptions.CenterMainDashboard || {};
  4. A.getYearWaterUsageStatusChartOptions = 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 }
  31. },
  32. // value: 85,
  33. subvalues: [90]
  34. }
  35. };
  36. });