aab53fa3bf55af9554bc80a694c352f671385827.svn-base 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. if (!dojo._hasResource["dojox.charting.themes.PlotKit.orange"]) { // _hasResource
  2. // checks
  3. // added by
  4. // build. Do
  5. // not use
  6. // _hasResource
  7. // directly
  8. // in your
  9. // code.
  10. dojo._hasResource["dojox.charting.themes.PlotKit.orange"] = true;
  11. dojo.provide("dojox.charting.themes.PlotKit.orange");
  12. dojo.require("dojox.charting.Theme");
  13. (function() {
  14. var dxc = dojox.charting;
  15. dxc.themes.PlotKit.orange = new dxc.Theme({
  16. chart : {
  17. stroke : null,
  18. fill : "white"
  19. },
  20. plotarea : {
  21. stroke : null,
  22. fill : "#f5eee6"
  23. },
  24. axis : {
  25. stroke : {
  26. color : "#fff",
  27. width : 2
  28. },
  29. line : {
  30. color : "#fff",
  31. width : 1
  32. },
  33. majorTick : {
  34. color : "#fff",
  35. width : 2,
  36. length : 12
  37. },
  38. minorTick : {
  39. color : "#fff",
  40. width : 1,
  41. length : 8
  42. },
  43. font : "normal normal normal 8pt Tahoma",
  44. fontColor : "#999"
  45. },
  46. series : {
  47. outline : {
  48. width : 1,
  49. color : "#fff"
  50. },
  51. stroke : {
  52. width : 2,
  53. color : "#666"
  54. },
  55. fill : new dojo.Color([0x66, 0x66, 0x66, 0.8]),
  56. font : "normal normal normal 7pt Tahoma", // label
  57. fontColor : "#000"
  58. },
  59. marker : { // any markers on a series.
  60. stroke : {
  61. width : 2
  62. },
  63. fill : "#333",
  64. font : "normal normal normal 7pt Tahoma", // label
  65. fontColor : "#000"
  66. },
  67. colors : []
  68. });
  69. dxc.themes.PlotKit.orange.defineColors({
  70. hue : 31,
  71. saturation : 60,
  72. low : 40,
  73. high : 88
  74. });
  75. })();
  76. }