/public/javascripts/dojo/release/dojo/dojox/charting/themes/ET/greys.js

http://enginey.googlecode.com/ · JavaScript · 66 lines · 56 code · 4 blank · 6 comment · 1 complexity · 77107a5d0f8eebfe9de50ef157c32566 MD5 · raw file

  1. /*
  2. Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
  3. Available via Academic Free License >= 2.1 OR the modified BSD license.
  4. see: http://dojotoolkit.org/license for details
  5. */
  6. if(!dojo._hasResource["dojox.charting.themes.ET.greys"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dojox.charting.themes.ET.greys"] = true;
  8. dojo.provide("dojox.charting.themes.ET.greys");
  9. dojo.require("dojox.charting.Theme");
  10. dojo.deprecated("dojox.charting.themes.ET.greys", "1.3");
  11. (function(){
  12. var dxc=dojox.charting;
  13. dxc.themes.ET.greys = new dxc.Theme({
  14. antiAlias: false,
  15. chart: {
  16. stroke: null,
  17. fill: "inherit"
  18. },
  19. plotarea: {
  20. // stroke: { width: 0.2, color: "#666666" },
  21. stroke: null,
  22. fill: "transparent"
  23. },
  24. axis:{
  25. stroke:{ width: 0 },
  26. line:{ width: 0 },
  27. majorTick:{
  28. color: "#666666",
  29. width: 1,
  30. length: 5
  31. },
  32. minorTick: {
  33. color: "black",
  34. width: 0.5,
  35. length: 2
  36. },
  37. font:"normal normal normal 8pt Tahoma",
  38. fontColor:"#999999"
  39. },
  40. series:{
  41. outline:{ width: 0, color: "black" },
  42. stroke: { width: 1, color: "black" },
  43. fill: dojo.colorFromHex("#3b444b"),
  44. font: "normal normal normal 7pt Tahoma", // label
  45. fontColor: "#717171"
  46. },
  47. marker:{ // any markers on a series.
  48. stroke:{ width:1 },
  49. fill:"#333",
  50. font:"normal normal normal 7pt Tahoma", // label
  51. fontColor:"#000"
  52. },
  53. colors:[
  54. dojo.colorFromHex("#8a8c8f"),
  55. dojo.colorFromHex("#4b4b4b"),
  56. dojo.colorFromHex("#3b444b"),
  57. dojo.colorFromHex("#2e2d30"),
  58. dojo.colorFromHex("#000000")
  59. ]
  60. });
  61. })();
  62. }