郑许地铁

roma.js 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. define({
  2. color: ['#E01F54','#b8d2c7','#f5e8c8','#001852','#c6b38e',
  3. '#a4d8c2','#f3d999','#d3758f','#dcc392','#2e4783',
  4. '#82b6e9','#ff6347','#a092f1','#0a915d','#eaf889',
  5. '#6699FF','#ff6666','#3cb371','#d5b158','#38b6b6'],
  6. dataRange: {
  7. color:['#e01f54','#e7dbc3'],
  8. textStyle: {
  9. color: '#333'
  10. }
  11. },
  12. k: {
  13. itemStyle: {
  14. normal: {
  15. color: '#e01f54',
  16. color0: '#001852',
  17. lineStyle: {
  18. width: 1,
  19. color: '#f5e8c8',
  20. color0: '#b8d2c7'
  21. }
  22. }
  23. }
  24. },
  25. pie: {
  26. itemStyle: {
  27. normal: {
  28. borderColor: '#fff',
  29. borderWidth: 1,
  30. label: {
  31. show: true,
  32. position: 'outer',
  33. textStyle: {color: '#1b1b1b'},
  34. lineStyle: {color: '#1b1b1b'}
  35. },
  36. labelLine: {
  37. show: true,
  38. length: 20,
  39. lineStyle: {
  40. width: 1,
  41. type: 'solid'
  42. }
  43. }
  44. },
  45. emphasis: {
  46. borderColor: 'rgba(0,0,0,0)',
  47. borderWidth: 1,
  48. label: {
  49. show: false
  50. },
  51. labelLine: {
  52. show: false,
  53. length: 20,
  54. lineStyle: {
  55. width: 1,
  56. type: 'solid'
  57. }
  58. }
  59. }
  60. }
  61. },
  62. map: {
  63. itemStyle: {
  64. normal: {
  65. borderColor: '#fff',
  66. borderWidth: 1,
  67. areaStyle: {
  68. color: '#ccc'
  69. },
  70. label: {
  71. show: false,
  72. textStyle: {
  73. color: 'rgba(139,69,19,1)'
  74. }
  75. }
  76. },
  77. emphasis: {
  78. borderColor: 'rgba(0,0,0,0)',
  79. borderWidth: 1,
  80. areaStyle: {
  81. color: '#f3d999'
  82. },
  83. label: {
  84. show: false,
  85. textStyle: {
  86. color: 'rgba(139,69,19,1)'
  87. }
  88. }
  89. }
  90. }
  91. },
  92. force : {
  93. itemStyle: {
  94. normal: {
  95. label: {
  96. show: false
  97. },
  98. nodeStyle : {
  99. brushType : 'both',
  100. strokeColor : '#5182ab'
  101. },
  102. linkStyle : {
  103. strokeColor : '#5182ab'
  104. }
  105. },
  106. emphasis: {
  107. label: {
  108. show: false
  109. },
  110. nodeStyle : {},
  111. linkStyle : {}
  112. }
  113. }
  114. },
  115. gauge : {
  116. axisLine: { // 坐标轴线
  117. show: true, // 默认显示,属性show控制显示与否
  118. lineStyle: { // 属性lineStyle控制线条样式
  119. color: [[0.2, '#E01F54'],[0.8, '#b8d2c7'],[1, '#001852']],
  120. width: 8
  121. }
  122. },
  123. axisTick: { // 坐标轴小标记
  124. splitNumber: 10, // 每份split细分多少段
  125. length :12, // 属性length控制线长
  126. lineStyle: { // 属性lineStyle控制线条样式
  127. color: 'auto'
  128. }
  129. },
  130. axisLabel: { // 坐标轴文本标签,详见axis.axisLabel
  131. textStyle: { // 其余属性默认使用全局文本样式,详见TEXTSTYLE
  132. color: 'auto'
  133. }
  134. },
  135. splitLine: { // 分隔线
  136. length : 18, // 属性length控制线长
  137. lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式
  138. color: 'auto'
  139. }
  140. },
  141. pointer : {
  142. length : '90%',
  143. color : 'auto'
  144. },
  145. title : {
  146. textStyle: { // 其余属性默认使用全局文本样式,详见TEXTSTYLE
  147. color: '#333'
  148. }
  149. },
  150. detail : {
  151. textStyle: { // 其余属性默认使用全局文本样式,详见TEXTSTYLE
  152. color: 'auto'
  153. }
  154. }
  155. }
  156. });