echarts-theme.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. (function (root, factory) {
  2. if (typeof define === 'function' && define.amd) {
  3. // AMD. Register as an anonymous module.
  4. define(['exports', 'echarts'], factory);
  5. } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
  6. // CommonJS
  7. factory(exports, require('echarts'));
  8. } else {
  9. // Browser globals
  10. factory({}, root.echarts);
  11. }
  12. }(this, function (exports, echarts) {
  13. var log = function (msg) {
  14. if (typeof console !== 'undefined') {
  15. console && console.error && console.error(msg);
  16. }
  17. };
  18. if (!echarts) {
  19. log('ECharts is not Loaded');
  20. return;
  21. }
  22. echarts.registerTheme('walden', {
  23. "color": [
  24. "#3fb1e3",
  25. "#6be6c1",
  26. "#626c91",
  27. "#a0a7e6",
  28. "#c4ebad",
  29. "#96dee8"
  30. ],
  31. "backgroundColor": "rgba(252,252,252,0)",
  32. "textStyle": {},
  33. "title": {
  34. "textStyle": {
  35. "color": "#666666"
  36. },
  37. "subtextStyle": {
  38. "color": "#999999"
  39. }
  40. },
  41. "line": {
  42. "itemStyle": {
  43. "normal": {
  44. "borderWidth": "2"
  45. }
  46. },
  47. "lineStyle": {
  48. "normal": {
  49. "width": "3"
  50. }
  51. },
  52. "symbolSize": "8",
  53. "symbol": "emptyCircle",
  54. "smooth": false
  55. },
  56. "radar": {
  57. "itemStyle": {
  58. "normal": {
  59. "borderWidth": "2"
  60. }
  61. },
  62. "lineStyle": {
  63. "normal": {
  64. "width": "3"
  65. }
  66. },
  67. "symbolSize": "8",
  68. "symbol": "emptyCircle",
  69. "smooth": false
  70. },
  71. "bar": {
  72. "itemStyle": {
  73. "normal": {
  74. "barBorderWidth": 0,
  75. "barBorderColor": "#ccc"
  76. },
  77. "emphasis": {
  78. "barBorderWidth": 0,
  79. "barBorderColor": "#ccc"
  80. }
  81. }
  82. },
  83. "pie": {
  84. "itemStyle": {
  85. "normal": {
  86. "borderWidth": 0,
  87. "borderColor": "#ccc"
  88. },
  89. "emphasis": {
  90. "borderWidth": 0,
  91. "borderColor": "#ccc"
  92. }
  93. }
  94. },
  95. "scatter": {
  96. "itemStyle": {
  97. "normal": {
  98. "borderWidth": 0,
  99. "borderColor": "#ccc"
  100. },
  101. "emphasis": {
  102. "borderWidth": 0,
  103. "borderColor": "#ccc"
  104. }
  105. }
  106. },
  107. "boxplot": {
  108. "itemStyle": {
  109. "normal": {
  110. "borderWidth": 0,
  111. "borderColor": "#ccc"
  112. },
  113. "emphasis": {
  114. "borderWidth": 0,
  115. "borderColor": "#ccc"
  116. }
  117. }
  118. },
  119. "parallel": {
  120. "itemStyle": {
  121. "normal": {
  122. "borderWidth": 0,
  123. "borderColor": "#ccc"
  124. },
  125. "emphasis": {
  126. "borderWidth": 0,
  127. "borderColor": "#ccc"
  128. }
  129. }
  130. },
  131. "sankey": {
  132. "itemStyle": {
  133. "normal": {
  134. "borderWidth": 0,
  135. "borderColor": "#ccc"
  136. },
  137. "emphasis": {
  138. "borderWidth": 0,
  139. "borderColor": "#ccc"
  140. }
  141. }
  142. },
  143. "funnel": {
  144. "itemStyle": {
  145. "normal": {
  146. "borderWidth": 0,
  147. "borderColor": "#ccc"
  148. },
  149. "emphasis": {
  150. "borderWidth": 0,
  151. "borderColor": "#ccc"
  152. }
  153. }
  154. },
  155. "gauge": {
  156. "itemStyle": {
  157. "normal": {
  158. "borderWidth": 0,
  159. "borderColor": "#ccc"
  160. },
  161. "emphasis": {
  162. "borderWidth": 0,
  163. "borderColor": "#ccc"
  164. }
  165. }
  166. },
  167. "candlestick": {
  168. "itemStyle": {
  169. "normal": {
  170. "color": "#e6a0d2",
  171. "color0": "transparent",
  172. "borderColor": "#e6a0d2",
  173. "borderColor0": "#3fb1e3",
  174. "borderWidth": "2"
  175. }
  176. }
  177. },
  178. "graph": {
  179. "itemStyle": {
  180. "normal": {
  181. "borderWidth": 0,
  182. "borderColor": "#ccc"
  183. }
  184. },
  185. "lineStyle": {
  186. "normal": {
  187. "width": "1",
  188. "color": "#cccccc"
  189. }
  190. },
  191. "symbolSize": "8",
  192. "symbol": "emptyCircle",
  193. "smooth": false,
  194. "color": [
  195. "#3fb1e3",
  196. "#6be6c1",
  197. "#626c91",
  198. "#a0a7e6",
  199. "#c4ebad",
  200. "#96dee8"
  201. ],
  202. "label": {
  203. "normal": {
  204. "textStyle": {
  205. "color": "#ffffff"
  206. }
  207. }
  208. }
  209. },
  210. "map": {
  211. "itemStyle": {
  212. "normal": {
  213. "areaColor": "#eeeeee",
  214. "borderColor": "#aaaaaa",
  215. "borderWidth": 0.5
  216. },
  217. "emphasis": {
  218. "areaColor": "rgba(63,177,227,0.25)",
  219. "borderColor": "#3fb1e3",
  220. "borderWidth": 1
  221. }
  222. },
  223. "label": {
  224. "normal": {
  225. "textStyle": {
  226. "color": "#ffffff"
  227. }
  228. },
  229. "emphasis": {
  230. "textStyle": {
  231. "color": "rgb(63,177,227)"
  232. }
  233. }
  234. }
  235. },
  236. "geo": {
  237. "itemStyle": {
  238. "normal": {
  239. "areaColor": "#eeeeee",
  240. "borderColor": "#aaaaaa",
  241. "borderWidth": 0.5
  242. },
  243. "emphasis": {
  244. "areaColor": "rgba(63,177,227,0.25)",
  245. "borderColor": "#3fb1e3",
  246. "borderWidth": 1
  247. }
  248. },
  249. "label": {
  250. "normal": {
  251. "textStyle": {
  252. "color": "#ffffff"
  253. }
  254. },
  255. "emphasis": {
  256. "textStyle": {
  257. "color": "rgb(63,177,227)"
  258. }
  259. }
  260. }
  261. },
  262. "categoryAxis": {
  263. "axisLine": {
  264. "show": true,
  265. "lineStyle": {
  266. "color": "#cccccc"
  267. }
  268. },
  269. "axisTick": {
  270. "show": false,
  271. "lineStyle": {
  272. "color": "#333"
  273. }
  274. },
  275. "axisLabel": {
  276. "show": true,
  277. "textStyle": {
  278. "color": "#999999"
  279. }
  280. },
  281. "splitLine": {
  282. "show": true,
  283. "lineStyle": {
  284. "color": [
  285. "#eeeeee"
  286. ]
  287. }
  288. },
  289. "splitArea": {
  290. "show": false,
  291. "areaStyle": {
  292. "color": [
  293. "rgba(250,250,250,0.05)",
  294. "rgba(200,200,200,0.02)"
  295. ]
  296. }
  297. }
  298. },
  299. "valueAxis": {
  300. "axisLine": {
  301. "show": true,
  302. "lineStyle": {
  303. "color": "#cccccc"
  304. }
  305. },
  306. "axisTick": {
  307. "show": false,
  308. "lineStyle": {
  309. "color": "#333"
  310. }
  311. },
  312. "axisLabel": {
  313. "show": true,
  314. "textStyle": {
  315. "color": "#999999"
  316. }
  317. },
  318. "splitLine": {
  319. "show": true,
  320. "lineStyle": {
  321. "color": [
  322. "#eeeeee"
  323. ]
  324. }
  325. },
  326. "splitArea": {
  327. "show": false,
  328. "areaStyle": {
  329. "color": [
  330. "rgba(250,250,250,0.05)",
  331. "rgba(200,200,200,0.02)"
  332. ]
  333. }
  334. }
  335. },
  336. "logAxis": {
  337. "axisLine": {
  338. "show": true,
  339. "lineStyle": {
  340. "color": "#cccccc"
  341. }
  342. },
  343. "axisTick": {
  344. "show": false,
  345. "lineStyle": {
  346. "color": "#333"
  347. }
  348. },
  349. "axisLabel": {
  350. "show": true,
  351. "textStyle": {
  352. "color": "#999999"
  353. }
  354. },
  355. "splitLine": {
  356. "show": true,
  357. "lineStyle": {
  358. "color": [
  359. "#eeeeee"
  360. ]
  361. }
  362. },
  363. "splitArea": {
  364. "show": false,
  365. "areaStyle": {
  366. "color": [
  367. "rgba(250,250,250,0.05)",
  368. "rgba(200,200,200,0.02)"
  369. ]
  370. }
  371. }
  372. },
  373. "timeAxis": {
  374. "axisLine": {
  375. "show": true,
  376. "lineStyle": {
  377. "color": "#cccccc"
  378. }
  379. },
  380. "axisTick": {
  381. "show": false,
  382. "lineStyle": {
  383. "color": "#333"
  384. }
  385. },
  386. "axisLabel": {
  387. "show": true,
  388. "textStyle": {
  389. "color": "#999999"
  390. }
  391. },
  392. "splitLine": {
  393. "show": true,
  394. "lineStyle": {
  395. "color": [
  396. "#eeeeee"
  397. ]
  398. }
  399. },
  400. "splitArea": {
  401. "show": false,
  402. "areaStyle": {
  403. "color": [
  404. "rgba(250,250,250,0.05)",
  405. "rgba(200,200,200,0.02)"
  406. ]
  407. }
  408. }
  409. },
  410. "toolbox": {
  411. "iconStyle": {
  412. "normal": {
  413. "borderColor": "#999999"
  414. },
  415. "emphasis": {
  416. "borderColor": "#666666"
  417. }
  418. }
  419. },
  420. "legend": {
  421. "textStyle": {
  422. "color": "#999999"
  423. }
  424. },
  425. "tooltip": {
  426. "axisPointer": {
  427. "lineStyle": {
  428. "color": "#cccccc",
  429. "width": 1
  430. },
  431. "crossStyle": {
  432. "color": "#cccccc",
  433. "width": 1
  434. }
  435. }
  436. },
  437. "timeline": {
  438. "lineStyle": {
  439. "color": "#626c91",
  440. "width": 1
  441. },
  442. "itemStyle": {
  443. "normal": {
  444. "color": "#626c91",
  445. "borderWidth": 1
  446. },
  447. "emphasis": {
  448. "color": "#626c91"
  449. }
  450. },
  451. "controlStyle": {
  452. "normal": {
  453. "color": "#626c91",
  454. "borderColor": "#626c91",
  455. "borderWidth": 0.5
  456. },
  457. "emphasis": {
  458. "color": "#626c91",
  459. "borderColor": "#626c91",
  460. "borderWidth": 0.5
  461. }
  462. },
  463. "checkpointStyle": {
  464. "color": "#3fb1e3",
  465. "borderColor": "rgba(63,177,227,0.15)"
  466. },
  467. "label": {
  468. "normal": {
  469. "textStyle": {
  470. "color": "#626c91"
  471. }
  472. },
  473. "emphasis": {
  474. "textStyle": {
  475. "color": "#626c91"
  476. }
  477. }
  478. }
  479. },
  480. "visualMap": {
  481. "color": [
  482. "#2a99c9",
  483. "#afe8ff"
  484. ]
  485. },
  486. "dataZoom": {
  487. "backgroundColor": "rgba(255,255,255,0)",
  488. "dataBackgroundColor": "rgba(222,222,222,1)",
  489. "fillerColor": "rgba(114,230,212,0.25)",
  490. "handleColor": "#cccccc",
  491. "handleSize": "100%",
  492. "textStyle": {
  493. "color": "#999999"
  494. }
  495. },
  496. "markPoint": {
  497. "label": {
  498. "normal": {
  499. "textStyle": {
  500. "color": "#ffffff"
  501. }
  502. },
  503. "emphasis": {
  504. "textStyle": {
  505. "color": "#ffffff"
  506. }
  507. }
  508. }
  509. }
  510. });
  511. }));