config-ucharts.js 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605
  1. /*
  2. * uCharts®
  3. * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台
  4. * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved.
  5. * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  6. * 复制使用请保留本段注释,感谢支持开源!
  7. *
  8. * uCharts®官方网站
  9. * https://www.uCharts.cn
  10. *
  11. * 开源地址:
  12. * https://gitee.com/uCharts/uCharts
  13. *
  14. * uni-app插件市场地址:
  15. * http://ext.dcloud.net.cn/plugin?id=271
  16. *
  17. */
  18. // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性
  19. const color = ["#0052d4", "#ff5959", "#f9b248", '#ea7ccc', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4'];
  20. //事件转换函数,主要用作格式化x轴为时间轴,根据需求自行修改
  21. const formatDateTime = (timeStamp, returnType) => {
  22. var date = new Date();
  23. date.setTime(timeStamp * 1000);
  24. var y = date.getFullYear();
  25. var m = date.getMonth() + 1;
  26. m = m < 10 ? ('0' + m) : m;
  27. var d = date.getDate();
  28. d = d < 10 ? ('0' + d) : d;
  29. var h = date.getHours();
  30. h = h < 10 ? ('0' + h) : h;
  31. var minute = date.getMinutes();
  32. var second = date.getSeconds();
  33. minute = minute < 10 ? ('0' + minute) : minute;
  34. second = second < 10 ? ('0' + second) : second;
  35. if (returnType == 'full') {
  36. return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;
  37. }
  38. if (returnType == 'y-m-d') {
  39. return y + '-' + m + '-' + d;
  40. }
  41. if (returnType == 'h:m') {
  42. return h + ':' + minute;
  43. }
  44. if (returnType == 'h:m:s') {
  45. return h + ':' + minute + ':' + second;
  46. }
  47. return [y, m, d, h, minute, second];
  48. }
  49. const cfu = {
  50. //demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可
  51. "type": ["pie", "ring", "rose", "word", "funnel", "map", "arcbar", "line", "column", "bar", "area", "radar",
  52. "gauge", "candle", "mix", "tline", "tarea", "scatter", "bubble", "demotype", "mainline", "mainradar",
  53. "mini-line", "mini-area", "mini-column"
  54. ],
  55. "range": ["饼状图", "圆环图", "玫瑰图", "词云图", "漏斗图", "地图", "圆弧进度条", "折线图", "柱状图", "条状图", "区域图", "雷达图", "仪表盘", "K线图",
  56. "混合图", "时间轴折线", "时间轴区域", "散点图", "气泡图", "自定义类型", "首页趋势图", "首页雷达图", "折线缩略图", "区域缩略图", "柱状缩略图"
  57. ],
  58. //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype"
  59. //自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories
  60. "categories": ["line", "column", "bar", "area", "radar", "gauge", "candle", "mix", "demotype", "mainline",
  61. "mainradar", "mini-line", "mini-area", "mini-column"
  62. ],
  63. //instance为实例变量承载属性,不要删除
  64. "instance": {},
  65. //option为opts及eopts承载属性,不要删除
  66. "option": {},
  67. //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
  68. "formatter": {
  69. "yAxisDemo1": function(val) {
  70. return val + '元'
  71. },
  72. "yAxisDemo2": function(val) {
  73. return val.toFixed(2)
  74. },
  75. "xAxisDemo1": function(val) {
  76. return val + '年'
  77. },
  78. "xAxisDemo2": function(val) {
  79. return formatDateTime(val, 'h:m')
  80. },
  81. "seriesDemo1": function(val) {
  82. return val + '元'
  83. },
  84. "tooltipDemo1": function(item, category, index, opts) {
  85. if (index == 0) {
  86. return '随便用' + item.data + '年'
  87. } else {
  88. return '其他我没改' + item.data + '天'
  89. }
  90. },
  91. "pieDemo": function(val, index, series) {
  92. if (index !== undefined) {
  93. return series[index].name + ':' + series[index].data + '元'
  94. }
  95. },
  96. },
  97. //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。
  98. "demotype": {
  99. //我这里把曲线图当做了自定义图表类型,您可以根据需要随意指定类型或配置
  100. "type": "line",
  101. "color": color,
  102. "padding": [15, 10, 0, 15],
  103. "xAxis": {
  104. "disableGrid": true,
  105. },
  106. "yAxis": {
  107. "gridType": "dash",
  108. "dashLength": 2,
  109. },
  110. "legend": {},
  111. "extra": {
  112. "line": {
  113. "type": "curve",
  114. "width": 2
  115. },
  116. }
  117. },
  118. //下面是自定义配置,请添加项目所需的通用配置
  119. "pie": {
  120. "type": "pie",
  121. "color": color,
  122. "padding": [5, 5, 5, 5],
  123. "extra": {
  124. "pie": {
  125. "activeOpacity": 0.5,
  126. "activeRadius": 10,
  127. "offsetAngle": 0,
  128. "labelWidth": 15,
  129. "border": true,
  130. "borderWidth": 3,
  131. "borderColor": "#FFFFFF"
  132. },
  133. }
  134. },
  135. "ring": {
  136. "type": "ring",
  137. "color": color,
  138. "padding": [5, 5, 5, 5],
  139. "rotate": false,
  140. "dataLabel": true,
  141. "legend": {
  142. "show": true,
  143. "position": "right",
  144. "lineHeight": 25,
  145. },
  146. "title": {
  147. "name": "收益率",
  148. "fontSize": 15,
  149. "color": "#666666"
  150. },
  151. "subtitle": {
  152. "name": "70%",
  153. "fontSize": 25,
  154. "color": "#7cb5ec"
  155. },
  156. "extra": {
  157. "ring": {
  158. "ringWidth": 30,
  159. "activeOpacity": 0.5,
  160. "activeRadius": 10,
  161. "offsetAngle": 0,
  162. "labelWidth": 15,
  163. "border": true,
  164. "borderWidth": 3,
  165. "borderColor": "#FFFFFF"
  166. },
  167. },
  168. },
  169. "rose": {
  170. "type": "rose",
  171. "color": color,
  172. "padding": [5, 5, 5, 5],
  173. "legend": {
  174. "show": true,
  175. "position": "left",
  176. "lineHeight": 25,
  177. },
  178. "extra": {
  179. "rose": {
  180. "type": "area",
  181. "minRadius": 50,
  182. "activeOpacity": 0.5,
  183. "activeRadius": 10,
  184. "offsetAngle": 0,
  185. "labelWidth": 15,
  186. "border": false,
  187. "borderWidth": 2,
  188. "borderColor": "#FFFFFF"
  189. },
  190. }
  191. },
  192. "word": {
  193. "type": "word",
  194. "color": color,
  195. "extra": {
  196. "word": {
  197. "type": "normal",
  198. "autoColors": false
  199. }
  200. }
  201. },
  202. "funnel": {
  203. "type": "funnel",
  204. "color": color,
  205. "padding": [15, 15, 0, 15],
  206. "extra": {
  207. "funnel": {
  208. "activeOpacity": 0.3,
  209. "activeWidth": 10,
  210. "border": true,
  211. "borderWidth": 2,
  212. "borderColor": "#FFFFFF",
  213. "fillOpacity": 1,
  214. "labelAlign": "right"
  215. },
  216. }
  217. },
  218. "map": {
  219. "type": "map",
  220. "color": color,
  221. "padding": [0, 0, 0, 0],
  222. "dataLabel": true,
  223. "extra": {
  224. "map": {
  225. "border": true,
  226. "borderWidth": 1,
  227. "borderColor": "#666666",
  228. "fillOpacity": 0.6,
  229. "activeBorderColor": "#F04864",
  230. "activeFillColor": "#FACC14",
  231. "activeFillOpacity": 1
  232. },
  233. }
  234. },
  235. "arcbar": {
  236. "type": "arcbar",
  237. "color": color,
  238. "title": {
  239. "name": "百分比",
  240. "fontSize": 25,
  241. "color": "#00FF00"
  242. },
  243. "subtitle": {
  244. "name": "默认标题",
  245. "fontSize": 15,
  246. "color": "#666666"
  247. },
  248. "extra": {
  249. "arcbar": {
  250. "type": "default",
  251. "width": 12,
  252. "backgroundColor": "#E9E9E9",
  253. "startAngle": 0.75,
  254. "endAngle": 0.25,
  255. "gap": 2
  256. }
  257. }
  258. },
  259. "line": {
  260. "type": "line",
  261. "canvasId": "",
  262. "canvas2d": false,
  263. "background": "none",
  264. "animation": true,
  265. "timing": "easeOut",
  266. "duration": 1000,
  267. "color": [
  268. "#0052d4",
  269. "#ff5959",
  270. "#f9b248"
  271. ],
  272. "padding": [
  273. 1,
  274. 10,
  275. 8,
  276. 3
  277. ],
  278. "rotate": false,
  279. "errorReload": true,
  280. "fontSize": 12,
  281. "fontColor": "#696969",
  282. "enableScroll": false,
  283. "touchMoveLimit": 60,
  284. "enableMarkLine": true,
  285. "dataLabel": true,
  286. "dataPointShape": true,
  287. "dataPointShapeType": "solid",
  288. "tapLegend": true,
  289. "xAxis": {
  290. "disabled": false,
  291. "axisLine": true,
  292. "axisLineColor": "#CCCCCC",
  293. "calibration": false,
  294. "fontColor": "#696969",
  295. "fontSize": 12,
  296. "rotateLabel": false,
  297. "labelCount": 6,
  298. "itemCount": 5,
  299. "boundaryGap": "center",
  300. "disableGrid": true,
  301. "gridColor": "#696969",
  302. "gridType": "solid",
  303. "dashLength": 4,
  304. "gridEval": 1,
  305. "scrollShow": false,
  306. "scrollAlign": "left",
  307. "scrollColor": "#F5F5F5",
  308. "scrollBackgroundColor": "#D3D3D3",
  309. "format": ""
  310. },
  311. "yAxis": {
  312. "disabled": false,
  313. "disableGrid": false,
  314. "splitNumber": 5,
  315. "gridType": "dash",
  316. "dashLength": 10,
  317. "gridColor": "#CCCCCC",
  318. "padding": 10,
  319. "showTitle": false,
  320. "data": []
  321. },
  322. "legend": {
  323. "show": true,
  324. "position": "top",
  325. "float": "right",
  326. "padding": 5,
  327. "margin": 15,
  328. "backgroundColor": "rgba(0,0,0,0)",
  329. "borderColor": "rgba(0,0,0,0)",
  330. "borderWidth": 0,
  331. "fontSize": 12,
  332. "fontColor": "#696969",
  333. "lineHeight": 10,
  334. "hiddenColor": "#CECECE",
  335. "itemGap": 10
  336. },
  337. "extra": {
  338. "line": {
  339. "type": "curve",
  340. "width": 2
  341. },
  342. "tooltip": {
  343. "showBox": true,
  344. "showArrow": false,
  345. "showCategory": false,
  346. "borderWidth": 0,
  347. "borderRadius": 6,
  348. "borderColor": "#000000",
  349. "borderOpacity": 0.5,
  350. "bgColor": "#000000",
  351. "bgOpacity": 0.5,
  352. "gridType": "dash",
  353. "dashLength": 8,
  354. "gridColor": "#CCCCCC",
  355. "fontColor": "#FFFFFF",
  356. "splitLine": true,
  357. "horizentalLine": false,
  358. "xAxisLabel": false,
  359. "yAxisLabel": false,
  360. "labelBgColor": "#FFFFFF",
  361. "labelBgOpacity": 0.7,
  362. "labelFontColor": "#666666"
  363. },
  364. "markLine": {
  365. "type": "dash",
  366. "dashLength": 8,
  367. "data": []
  368. }
  369. }
  370. },
  371. "tline": {
  372. "type": "line",
  373. "color": color,
  374. "padding": [15, 10, 0, 15],
  375. "xAxis": {
  376. "disableGrid": false,
  377. "boundaryGap": "justify",
  378. },
  379. "yAxis": {
  380. "gridType": "dash",
  381. "dashLength": 2,
  382. "data": [{
  383. "min": 0,
  384. "max": 80
  385. }]
  386. },
  387. "legend": {},
  388. "extra": {
  389. "line": {
  390. "type": "curve",
  391. "width": 2
  392. },
  393. }
  394. },
  395. "tarea": {
  396. "type": "area",
  397. "color": color,
  398. "padding": [15, 10, 0, 15],
  399. "xAxis": {
  400. "disableGrid": true,
  401. "boundaryGap": "justify",
  402. },
  403. "yAxis": {
  404. "gridType": "dash",
  405. "dashLength": 2,
  406. "data": [{
  407. "min": 0,
  408. "max": 80
  409. }]
  410. },
  411. "legend": {},
  412. "extra": {
  413. "area": {
  414. "type": "curve",
  415. "opacity": 0.2,
  416. "addLine": true,
  417. "width": 2,
  418. "gradient": true
  419. },
  420. }
  421. },
  422. "column": {
  423. "type": "column",
  424. "canvasId": "",
  425. "canvas2d": false,
  426. "background": "none",
  427. "animation": true,
  428. "timing": "easeOut",
  429. "duration": 1000,
  430. "color": [
  431. "#0052d4",
  432. "#ff5959",
  433. "#f9b248"
  434. ],
  435. "padding": [
  436. 1,
  437. 10,
  438. 8,
  439. 3
  440. ],
  441. "rotate": false,
  442. "errorReload": true,
  443. "fontSize": 12,
  444. "fontColor": "#696969",
  445. "enableScroll": false,
  446. "touchMoveLimit": 60,
  447. "enableMarkLine": true,
  448. "dataLabel": true,
  449. "dataPointShape": true,
  450. "dataPointShapeType": "solid",
  451. "tapLegend": true,
  452. "xAxis": {
  453. "disabled": false,
  454. "axisLine": true,
  455. "axisLineColor": "#CCCCCC",
  456. "calibration": false,
  457. "fontColor": "#696969",
  458. "fontSize": 12,
  459. "rotateLabel": false,
  460. "labelCount": 6,
  461. "itemCount": 5,
  462. "boundaryGap": "center",
  463. "disableGrid": true,
  464. "gridColor": "#696969",
  465. "gridType": "dash",
  466. "dashLength": 4,
  467. "gridEval": 1,
  468. "scrollShow": false,
  469. "scrollAlign": "left",
  470. "scrollColor": "#F5F5F5",
  471. "scrollBackgroundColor": "#D3D3D3",
  472. "format": ""
  473. },
  474. "yAxis": {
  475. "disabled": false,
  476. "disableGrid": false,
  477. "splitNumber": 5,
  478. "gridType": "dash",
  479. "dashLength": 10,
  480. "gridColor": "#CCCCCC",
  481. "padding": 10,
  482. "showTitle": false,
  483. "data": []
  484. },
  485. "legend": {
  486. "show": true,
  487. "position": "top",
  488. "float": "right",
  489. "padding": 5,
  490. "margin": 15,
  491. "backgroundColor": "rgba(0,0,0,0)",
  492. "borderColor": "rgba(0,0,0,0)",
  493. "borderWidth": 0,
  494. "fontSize": 12,
  495. "fontColor": "#696969",
  496. "lineHeight": 10,
  497. "hiddenColor": "#CECECE",
  498. "itemGap": 10
  499. },
  500. "extra": {
  501. "column": {
  502. "type": "group",
  503. "width": 17,
  504. "seriesGap": 2,
  505. "categoryGap": 3,
  506. "barBorderCircle": false,
  507. "barBorderRadius": [
  508. 5,
  509. 5,
  510. 5,
  511. 5
  512. ],
  513. "linearType": "none",
  514. "linearOpacity": 1,
  515. "customColor": [
  516. "#0052d4",
  517. "#4364f7",
  518. "#6fb1fc",
  519. "#f5f5f5"
  520. ],
  521. "colorStop": 0,
  522. "meterBorder": 1,
  523. "meterFillColor": "#FFFFFF",
  524. "activeBgColor": "#000000",
  525. "activeBgOpacity": 0.05,
  526. "meterBorde": 1
  527. },
  528. "tooltip": {
  529. "showBox": true,
  530. "showArrow": false,
  531. "showCategory": false,
  532. "borderWidth": 0,
  533. "borderRadius": 6,
  534. "borderColor": "#000000",
  535. "borderOpacity": 0.5,
  536. "bgColor": "#000000",
  537. "bgOpacity": 0.5,
  538. "gridType": "dash",
  539. "dashLength": 8,
  540. "gridColor": "#CCCCCC",
  541. "fontColor": "#FFFFFF",
  542. "splitLine": true,
  543. "horizentalLine": false,
  544. "xAxisLabel": false,
  545. "yAxisLabel": false,
  546. "labelBgColor": "#FFFFFF",
  547. "labelBgOpacity": 0.7,
  548. "labelFontColor": "#666666"
  549. },
  550. "markLine": {
  551. "type": "dash",
  552. "dashLength": 8,
  553. "data": []
  554. }
  555. }
  556. },
  557. "bar": {
  558. "type": "bar",
  559. "canvasId": "",
  560. "canvas2d": false,
  561. "background": "none",
  562. "animation": true,
  563. "timing": "easeOut",
  564. "duration": 1000,
  565. "color": [
  566. "#0052d4",
  567. "#20a162"
  568. ],
  569. "padding": [
  570. 1,
  571. 18,
  572. 3,
  573. 3
  574. ],
  575. "rotate": false,
  576. "errorReload": true,
  577. "fontSize": 13,
  578. "fontColor": "#696969",
  579. "enableScroll": false,
  580. "touchMoveLimit": 60,
  581. "enableMarkLine": false,
  582. "dataLabel": false,
  583. "dataPointShape": true,
  584. "dataPointShapeType": "solid",
  585. "tapLegend": true,
  586. "xAxis": {
  587. "disabled": false,
  588. "axisLine": false,
  589. "axisLineColor": "#CCCCCC",
  590. "calibration": false,
  591. "fontColor": "#696969",
  592. "fontSize": 12,
  593. "rotateLabel": false,
  594. "itemCount": 5,
  595. "boundaryGap": "justify",
  596. "disableGrid": false,
  597. "gridColor": "#CCCCCC",
  598. "gridType": "dash",
  599. "dashLength": 8,
  600. "gridEval": 1,
  601. "scrollShow": false,
  602. "scrollAlign": "left",
  603. "scrollColor": "#A6A6A6",
  604. "scrollBackgroundColor": "#EFEBEF",
  605. "min": 0,
  606. "format": ""
  607. },
  608. "yAxis": {
  609. "disabled": false,
  610. "disableGrid": false,
  611. "splitNumber": 5,
  612. "gridType": "dash",
  613. "dashLength": 8,
  614. "gridColor": "#CCCCCC",
  615. "padding": 10,
  616. "showTitle": false,
  617. "data": []
  618. },
  619. "legend": {
  620. "show": true,
  621. "position": "top",
  622. "float": "right",
  623. "padding": 5,
  624. "margin": 5,
  625. "backgroundColor": "rgba(0,0,0,0)",
  626. "borderColor": "rgba(0,0,0,0)",
  627. "borderWidth": 0,
  628. "fontSize": 12,
  629. "fontColor": "#696969",
  630. "lineHeight": 10,
  631. "hiddenColor": "#CECECE",
  632. "itemGap": 10
  633. },
  634. "extra": {
  635. "bar": {
  636. "type": "group",
  637. "width": 14,
  638. "seriesGap": 2,
  639. "categoryGap": 4,
  640. "barBorderCircle": false,
  641. "barBorderRadius": [
  642. 3,
  643. 10,
  644. 3,
  645. 3
  646. ],
  647. "linearType": "none",
  648. "linearOpacity": 1,
  649. "colorStop": 0,
  650. "activeBgColor": "#000000",
  651. "activeBgOpacity": 0.08,
  652. "meterBorde": 1,
  653. "meterFillColor": "#FFFFFF"
  654. },
  655. "tooltip": {
  656. "showBox": true,
  657. "showArrow": false,
  658. "showCategory": false,
  659. "borderWidth": 0,
  660. "borderRadius": 6,
  661. "borderColor": "#000000",
  662. "borderOpacity": 0.5,
  663. "bgColor": "#000000",
  664. "bgOpacity": 0.5,
  665. "gridType": "solid",
  666. "dashLength": 4,
  667. "gridColor": "#CCCCCC",
  668. "fontColor": "#FFFFFF",
  669. "splitLine": true,
  670. "horizentalLine": false,
  671. "xAxisLabel": false,
  672. "yAxisLabel": false,
  673. "labelBgColor": "#FFFFFF",
  674. "labelBgOpacity": 0.7,
  675. "labelFontColor": "#666666"
  676. },
  677. "markLine": {
  678. "type": "solid",
  679. "dashLength": 4,
  680. "data": []
  681. }
  682. }
  683. },
  684. "area": {
  685. "type": "area",
  686. "canvasId": "",
  687. "canvas2d": false,
  688. "background": "none",
  689. "animation": true,
  690. "timing": "easeOut",
  691. "duration": 1000,
  692. "color": [
  693. "#0052d4",
  694. "#ff5959",
  695. "#f9b248"
  696. ],
  697. "padding": [
  698. 1,
  699. 10,
  700. 8,
  701. 3
  702. ],
  703. "rotate": false,
  704. "errorReload": true,
  705. "fontSize": 13,
  706. "fontColor": "#666666",
  707. "enableScroll": false,
  708. "touchMoveLimit": 60,
  709. "enableMarkLine": true,
  710. "dataLabel": true,
  711. "dataPointShape": true,
  712. "dataPointShapeType": "solid",
  713. "tapLegend": true,
  714. "xAxis": {
  715. "disabled": false,
  716. "axisLine": true,
  717. "axisLineColor": "#CCCCCC",
  718. "calibration": false,
  719. "fontColor": "#696969",
  720. "fontSize": 12,
  721. "rotateLabel": false,
  722. "labelCount": 6,
  723. "itemCount": 5,
  724. "boundaryGap": "center",
  725. "disableGrid": true,
  726. "gridColor": "#CCCCCC",
  727. "gridType": "solid",
  728. "dashLength": 4,
  729. "gridEval": 1,
  730. "scrollShow": false,
  731. "scrollAlign": "left",
  732. "scrollColor": "#A6A6A6",
  733. "scrollBackgroundColor": "#EFEBEF",
  734. "format": ""
  735. },
  736. "yAxis": {
  737. "disabled": false,
  738. "disableGrid": false,
  739. "splitNumber": 5,
  740. "gridType": "dash",
  741. "dashLength": 10,
  742. "gridColor": "#CCCCCC",
  743. "padding": 10,
  744. "showTitle": false,
  745. "data": []
  746. },
  747. "legend": {
  748. "show": true,
  749. "position": "top",
  750. "float": "right",
  751. "padding": 5,
  752. "margin": 15,
  753. "backgroundColor": "rgba(0,0,0,0)",
  754. "borderColor": "rgba(0,0,0,0)",
  755. "borderWidth": 0,
  756. "fontSize": 12,
  757. "fontColor": "#696969",
  758. "lineHeight": 10,
  759. "hiddenColor": "#CECECE",
  760. "itemGap": 10
  761. },
  762. "extra": {
  763. "area": {
  764. "type": "straight",
  765. "opacity": 0.5,
  766. "addLine": true,
  767. "width": 2,
  768. "gradient": true
  769. },
  770. "tooltip": {
  771. "showBox": true,
  772. "showArrow": false,
  773. "showCategory": false,
  774. "borderWidth": 0,
  775. "borderRadius": 6,
  776. "borderColor": "#000000",
  777. "borderOpacity": 0.5,
  778. "bgColor": "#000000",
  779. "bgOpacity": 0.5,
  780. "gridType": "dash",
  781. "dashLength": 8,
  782. "gridColor": "#CCCCCC",
  783. "fontColor": "#FFFFFF",
  784. "splitLine": true,
  785. "horizentalLine": true,
  786. "xAxisLabel": false,
  787. "yAxisLabel": false,
  788. "labelBgColor": "#FFFFFF",
  789. "labelBgOpacity": 0.7,
  790. "labelFontColor": "#666666"
  791. },
  792. "markLine": {
  793. "type": "dash",
  794. "dashLength": 8,
  795. "data": []
  796. }
  797. }
  798. },
  799. "radar": {
  800. "type": "radar",
  801. "canvasId": "",
  802. "canvas2d": false,
  803. "background": "none",
  804. "animation": true,
  805. "timing": "easeOut",
  806. "duration": 1000,
  807. "color": [
  808. "#0052d4",
  809. "#ff5959",
  810. "#f9b248"
  811. ],
  812. "padding": [
  813. 1,
  814. 2,
  815. 2,
  816. 2
  817. ],
  818. "rotate": false,
  819. "errorReload": true,
  820. "fontSize": 13,
  821. "fontColor": "#696969",
  822. "enableScroll": false,
  823. "touchMoveLimit": 60,
  824. "enableMarkLine": false,
  825. "dataLabel": false,
  826. "dataPointShape": true,
  827. "dataPointShapeType": "solid",
  828. "tapLegend": true,
  829. "legend": {
  830. "show": true,
  831. "position": "bottom",
  832. "float": "center",
  833. "padding": 5,
  834. "margin": 5,
  835. "backgroundColor": "rgba(0,0,0,0)",
  836. "borderColor": "rgba(0,0,0,0)",
  837. "borderWidth": 0,
  838. "fontSize": 13,
  839. "fontColor": "#696969",
  840. "lineHeight": 10,
  841. "hiddenColor": "#CECECE",
  842. "itemGap": 10
  843. },
  844. "extra": {
  845. "radar": {
  846. "gridType": "circle",
  847. "gridColor": "#CCCCCC",
  848. "gridCount": 2,
  849. "labelColor": "#696969",
  850. "opacity": 0.3,
  851. "border": true,
  852. "borderWidth": 1,
  853. "max": 100
  854. },
  855. "tooltip": {
  856. "showBox": true,
  857. "showArrow": false,
  858. "showCategory": false,
  859. "borderWidth": 0,
  860. "borderRadius": 6,
  861. "borderColor": "#000000",
  862. "borderOpacity": 0.5,
  863. "bgColor": "#000000",
  864. "bgOpacity": 0.5,
  865. "gridType": "dash",
  866. "dashLength": 8,
  867. "gridColor": "#CCCCCC",
  868. "fontColor": "#FFFFFF",
  869. "splitLine": true,
  870. "horizentalLine": false,
  871. "xAxisLabel": false,
  872. "yAxisLabel": false,
  873. "labelBgColor": "#FFFFFF",
  874. "labelBgOpacity": 0.7,
  875. "labelFontColor": "#666666"
  876. }
  877. }
  878. },
  879. "gauge": {
  880. "type": "gauge",
  881. "color": color,
  882. "title": {
  883. "name": "66Km/H",
  884. "fontSize": 25,
  885. "color": "#2fc25b",
  886. "offsetY": 50
  887. },
  888. "subtitle": {
  889. "name": "实时速度",
  890. "fontSize": 15,
  891. "color": "#1890ff",
  892. "offsetY": -50
  893. },
  894. "extra": {
  895. "gauge": {
  896. "type": "default",
  897. "width": 30,
  898. "labelColor": "#666666",
  899. "startAngle": 0.75,
  900. "endAngle": 0.25,
  901. "startNumber": 0,
  902. "endNumber": 100,
  903. "labelFormat": "",
  904. "splitLine": {
  905. "fixRadius": 0,
  906. "splitNumber": 10,
  907. "width": 30,
  908. "color": "#FFFFFF",
  909. "childNumber": 5,
  910. "childWidth": 12
  911. },
  912. "pointer": {
  913. "width": 24,
  914. "color": "auto"
  915. }
  916. }
  917. }
  918. },
  919. "candle": {
  920. "type": "candle",
  921. "color": color,
  922. "padding": [15, 15, 0, 15],
  923. "enableScroll": true,
  924. "enableMarkLine": true,
  925. "dataLabel": false,
  926. "xAxis": {
  927. "labelCount": 4,
  928. "itemCount": 40,
  929. "disableGrid": true,
  930. "gridColor": "#CCCCCC",
  931. "gridType": "solid",
  932. "dashLength": 4,
  933. "scrollShow": true,
  934. "scrollAlign": "left",
  935. "scrollColor": "#A6A6A6",
  936. "scrollBackgroundColor": "#EFEBEF"
  937. },
  938. "yAxis": {},
  939. "legend": {},
  940. "extra": {
  941. "candle": {
  942. "color": {
  943. "upLine": "#f04864",
  944. "upFill": "#f04864",
  945. "downLine": "#2fc25b",
  946. "downFill": "#2fc25b"
  947. },
  948. "average": {
  949. "show": true,
  950. "name": ["MA5", "MA10", "MA30"],
  951. "day": [5, 10, 20],
  952. "color": ["#1890ff", "#2fc25b", "#facc14"]
  953. }
  954. },
  955. "markLine": {
  956. "type": "dash",
  957. "dashLength": 5,
  958. "data": [{
  959. "value": 2150,
  960. "lineColor": "#f04864",
  961. "showLabel": true
  962. },
  963. {
  964. "value": 2350,
  965. "lineColor": "#f04864",
  966. "showLabel": true
  967. }
  968. ]
  969. }
  970. }
  971. },
  972. "mix": {
  973. "type": "mix",
  974. "color": color,
  975. "padding": [15, 15, 0, 15],
  976. "xAxis": {
  977. "disableGrid": true,
  978. },
  979. "yAxis": {
  980. "disabled": false,
  981. "disableGrid": false,
  982. "splitNumber": 5,
  983. "gridType": "dash",
  984. "dashLength": 4,
  985. "gridColor": "#CCCCCC",
  986. "padding": 10,
  987. "showTitle": true,
  988. "data": []
  989. },
  990. "legend": {},
  991. "extra": {
  992. "mix": {
  993. "column": {
  994. "width": 20
  995. }
  996. },
  997. }
  998. },
  999. "scatter": {
  1000. "type": "scatter",
  1001. "color": color,
  1002. "padding": [15, 15, 0, 15],
  1003. "dataLabel": false,
  1004. "xAxis": {
  1005. "disableGrid": false,
  1006. "gridType": "dash",
  1007. "splitNumber": 5,
  1008. "boundaryGap": "justify",
  1009. "min": 0
  1010. },
  1011. "yAxis": {
  1012. "disableGrid": false,
  1013. "gridType": "dash",
  1014. },
  1015. "legend": {},
  1016. "extra": {
  1017. "scatter": {},
  1018. }
  1019. },
  1020. "bubble": {
  1021. "type": "bubble",
  1022. "color": color,
  1023. "padding": [15, 15, 0, 15],
  1024. "xAxis": {
  1025. "disableGrid": false,
  1026. "gridType": "dash",
  1027. "splitNumber": 5,
  1028. "boundaryGap": "justify",
  1029. "min": 0,
  1030. "max": 250
  1031. },
  1032. "yAxis": {
  1033. "disableGrid": false,
  1034. "gridType": "dash",
  1035. "data": [{
  1036. "min": 0,
  1037. "max": 150
  1038. }]
  1039. },
  1040. "legend": {},
  1041. "extra": {
  1042. "bubble": {
  1043. "border": 2,
  1044. "opacity": 0.5,
  1045. },
  1046. }
  1047. },
  1048. "mainline": {
  1049. "type": "area",
  1050. "canvasId": "",
  1051. "canvas2d": false,
  1052. "background": "none",
  1053. "animation": true,
  1054. "timing": "easeOut",
  1055. "duration": 1000,
  1056. "color": [
  1057. "#6495ed"
  1058. ],
  1059. "padding": [
  1060. 0,
  1061. 0,
  1062. 0,
  1063. 0
  1064. ],
  1065. "rotate": false,
  1066. "errorReload": true,
  1067. "fontSize": 13,
  1068. "fontColor": "#666666",
  1069. "enableScroll": false,
  1070. "touchMoveLimit": 60,
  1071. "enableMarkLine": false,
  1072. "dataLabel": false,
  1073. "dataPointShape": false,
  1074. "dataPointShapeType": "solid",
  1075. "tapLegend": true,
  1076. "xAxis": {
  1077. "disabled": true,
  1078. "axisLine": false,
  1079. "axisLineColor": "#CCCCCC",
  1080. "calibration": false,
  1081. "fontColor": "#666666",
  1082. "fontSize": 13,
  1083. "rotateLabel": false,
  1084. "itemCount": 5,
  1085. "boundaryGap": "center",
  1086. "disableGrid": true,
  1087. "gridColor": "#CCCCCC",
  1088. "gridType": "solid",
  1089. "dashLength": 4,
  1090. "gridEval": 1,
  1091. "scrollShow": false,
  1092. "scrollAlign": "left",
  1093. "scrollColor": "#A6A6A6",
  1094. "scrollBackgroundColor": "#EFEBEF",
  1095. "format": ""
  1096. },
  1097. "yAxis": {
  1098. "disabled": true,
  1099. "disableGrid": true,
  1100. "splitNumber": 5,
  1101. "gridType": "dash",
  1102. "dashLength": 2,
  1103. "gridColor": "#CCCCCC",
  1104. "padding": 10,
  1105. "showTitle": false,
  1106. "data": []
  1107. },
  1108. "legend": {
  1109. "show": false,
  1110. "position": "bottom",
  1111. "float": "center",
  1112. "padding": 10,
  1113. "margin": 0,
  1114. "backgroundColor": "rgba(0,0,0,0)",
  1115. "borderColor": "rgba(0,0,0,0)",
  1116. "borderWidth": 0,
  1117. "fontSize": 13,
  1118. "fontColor": "#666666",
  1119. "lineHeight": 11,
  1120. "hiddenColor": "#CECECE",
  1121. "itemGap": 10
  1122. },
  1123. "extra": {
  1124. "area": {
  1125. "type": "curve",
  1126. "opacity": 1,
  1127. "addLine": true,
  1128. "width": 4,
  1129. "gradient": true
  1130. },
  1131. "tooltip": {
  1132. "showBox": true,
  1133. "showArrow": true,
  1134. "showCategory": false,
  1135. "borderWidth": 0,
  1136. "borderRadius": 5,
  1137. "borderColor": "#000000",
  1138. "borderOpacity": 0.5,
  1139. "bgColor": "#000000",
  1140. "bgOpacity": 0.5,
  1141. "gridType": "solid",
  1142. "dashLength": 4,
  1143. "gridColor": "#CCCCCC",
  1144. "fontColor": "#FFFFFF",
  1145. "splitLine": false,
  1146. "horizentalLine": false,
  1147. "xAxisLabel": false,
  1148. "yAxisLabel": false,
  1149. "labelBgColor": "#FFFFFF",
  1150. "labelBgOpacity": 0.5,
  1151. "labelFontColor": "#666666"
  1152. },
  1153. "markLine": {
  1154. "type": "solid",
  1155. "dashLength": 4,
  1156. "data": []
  1157. }
  1158. }
  1159. },
  1160. "mainradar": {
  1161. "type": "radar",
  1162. "canvasId": "",
  1163. "canvas2d": false,
  1164. "background": "none",
  1165. "animation": true,
  1166. "timing": "easeOut",
  1167. "duration": 1000,
  1168. "color": [
  1169. "#0052d4",
  1170. "#ff5959",
  1171. "#f9b248"
  1172. ],
  1173. "padding": [
  1174. 5,
  1175. 5,
  1176. 5,
  1177. 5
  1178. ],
  1179. "rotate": false,
  1180. "errorReload": true,
  1181. "fontSize": 13,
  1182. "fontColor": "#666666",
  1183. "enableScroll": false,
  1184. "touchMoveLimit": 60,
  1185. "enableMarkLine": false,
  1186. "dataLabel": false,
  1187. "dataPointShape": false,
  1188. "dataPointShapeType": "solid",
  1189. "tapLegend": true,
  1190. "legend": {
  1191. "show": false,
  1192. "position": "right",
  1193. "float": "center",
  1194. "padding": 5,
  1195. "margin": 5,
  1196. "backgroundColor": "rgba(0,0,0,0)",
  1197. "borderColor": "rgba(0,0,0,0)",
  1198. "borderWidth": 0,
  1199. "fontSize": 13,
  1200. "fontColor": "#666666",
  1201. "lineHeight": 25,
  1202. "hiddenColor": "#CECECE",
  1203. "itemGap": 10
  1204. },
  1205. "extra": {
  1206. "radar": {
  1207. "gridType": "radar",
  1208. "gridColor": "#CCCCCC",
  1209. "gridCount": 1,
  1210. "labelColor": "#f1f3f5",
  1211. "opacity": 0.2,
  1212. "border": true,
  1213. "borderWidth": 2,
  1214. "max": 100
  1215. },
  1216. "tooltip": {
  1217. "showBox": true,
  1218. "showArrow": true,
  1219. "showCategory": false,
  1220. "borderWidth": 0,
  1221. "borderRadius": 5,
  1222. "borderColor": "#000000",
  1223. "borderOpacity": 0.5,
  1224. "bgColor": "#000000",
  1225. "bgOpacity": 0.5,
  1226. "gridType": "solid",
  1227. "dashLength": 4,
  1228. "gridColor": "#CCCCCC",
  1229. "fontColor": "#FFFFFF",
  1230. "splitLine": false,
  1231. "horizentalLine": false,
  1232. "xAxisLabel": false,
  1233. "yAxisLabel": false,
  1234. "labelBgColor": "#FFFFFF",
  1235. "labelBgOpacity": 0.5,
  1236. "labelFontColor": "#666666"
  1237. }
  1238. }
  1239. },
  1240. "mini-line": {
  1241. "type": "line",
  1242. "canvasId": "",
  1243. "canvas2d": false,
  1244. "background": "none",
  1245. "animation": true,
  1246. "timing": "easeOut",
  1247. "duration": 1000,
  1248. "color": [
  1249. "#0052d4",
  1250. "#ff5959",
  1251. "#f9b248"
  1252. ],
  1253. "padding": [
  1254. 0,
  1255. 0,
  1256. 0,
  1257. 0
  1258. ],
  1259. "rotate": false,
  1260. "errorReload": true,
  1261. "fontSize": 13,
  1262. "fontColor": "#666666",
  1263. "enableScroll": false,
  1264. "touchMoveLimit": 60,
  1265. "enableMarkLine": false,
  1266. "dataLabel": false,
  1267. "dataPointShape": false,
  1268. "dataPointShapeType": "solid",
  1269. "tapLegend": false,
  1270. "xAxis": {
  1271. "disabled": true,
  1272. "axisLine": false,
  1273. "axisLineColor": "#CCCCCC",
  1274. "calibration": false,
  1275. "fontColor": "#666666",
  1276. "fontSize": 13,
  1277. "rotateLabel": false,
  1278. "itemCount": 5,
  1279. "boundaryGap": "center",
  1280. "disableGrid": true,
  1281. "gridColor": "#CCCCCC",
  1282. "gridType": "solid",
  1283. "dashLength": 4,
  1284. "gridEval": 1,
  1285. "scrollShow": false,
  1286. "scrollAlign": "left",
  1287. "scrollColor": "#A6A6A6",
  1288. "scrollBackgroundColor": "#EFEBEF",
  1289. "format": ""
  1290. },
  1291. "yAxis": {
  1292. "disabled": true,
  1293. "disableGrid": true,
  1294. "splitNumber": 5,
  1295. "gridType": "dash",
  1296. "dashLength": 2,
  1297. "gridColor": "#CCCCCC",
  1298. "padding": 10,
  1299. "showTitle": false,
  1300. "data": []
  1301. },
  1302. "legend": {
  1303. "show": false,
  1304. "position": "left",
  1305. "float": "center",
  1306. "padding": 5,
  1307. "margin": 5,
  1308. "backgroundColor": "rgba(0,0,0,0)",
  1309. "borderColor": "rgba(0,0,0,0)",
  1310. "borderWidth": 0,
  1311. "fontSize": 13,
  1312. "fontColor": "#666666",
  1313. "lineHeight": 11,
  1314. "hiddenColor": "#CECECE",
  1315. "itemGap": 10
  1316. },
  1317. "extra": {
  1318. "line": {
  1319. "type": "curve",
  1320. "width": 2
  1321. },
  1322. "tooltip": {
  1323. "showBox": false,
  1324. "showArrow": false,
  1325. "showCategory": false,
  1326. "borderWidth": 0,
  1327. "borderRadius": 0,
  1328. "borderColor": "#000000",
  1329. "borderOpacity": 0.7,
  1330. "bgColor": "#000000",
  1331. "bgOpacity": 0.7,
  1332. "gridType": "solid",
  1333. "dashLength": 4,
  1334. "gridColor": "#CCCCCC",
  1335. "fontColor": "#FFFFFF",
  1336. "splitLine": false,
  1337. "horizentalLine": false,
  1338. "xAxisLabel": false,
  1339. "yAxisLabel": false,
  1340. "labelBgColor": "#FFFFFF",
  1341. "labelBgOpacity": 0.7,
  1342. "labelFontColor": "#666666"
  1343. },
  1344. "markLine": {
  1345. "type": "solid",
  1346. "dashLength": 4,
  1347. "data": []
  1348. }
  1349. }
  1350. },
  1351. "mini-area": {
  1352. "type": "area",
  1353. "canvasId": "",
  1354. "canvas2d": false,
  1355. "background": "none",
  1356. "animation": true,
  1357. "timing": "easeOut",
  1358. "duration": 1000,
  1359. "color": [
  1360. "#0052d4",
  1361. "#ff5959",
  1362. "#f9b248"
  1363. ],
  1364. "padding": [
  1365. 15,
  1366. 15,
  1367. 0,
  1368. 15
  1369. ],
  1370. "rotate": false,
  1371. "errorReload": true,
  1372. "fontSize": 13,
  1373. "fontColor": "#666666",
  1374. "enableScroll": false,
  1375. "touchMoveLimit": 60,
  1376. "enableMarkLine": false,
  1377. "dataLabel": false,
  1378. "dataPointShape": false,
  1379. "dataPointShapeType": "solid",
  1380. "tapLegend": false,
  1381. "xAxis": {
  1382. "disabled": true,
  1383. "axisLine": false,
  1384. "axisLineColor": "#CCCCCC",
  1385. "calibration": false,
  1386. "fontColor": "#666666",
  1387. "fontSize": 13,
  1388. "rotateLabel": false,
  1389. "itemCount": 5,
  1390. "boundaryGap": "justify",
  1391. "disableGrid": true,
  1392. "gridColor": "#CCCCCC",
  1393. "gridType": "solid",
  1394. "dashLength": 4,
  1395. "gridEval": 1,
  1396. "scrollShow": false,
  1397. "scrollAlign": "left",
  1398. "scrollColor": "#A6A6A6",
  1399. "scrollBackgroundColor": "#EFEBEF",
  1400. "format": ""
  1401. },
  1402. "yAxis": {
  1403. "disabled": true,
  1404. "disableGrid": true,
  1405. "splitNumber": 5,
  1406. "gridType": "dash",
  1407. "dashLength": 2,
  1408. "gridColor": "#CCCCCC",
  1409. "padding": 10,
  1410. "showTitle": false,
  1411. "data": []
  1412. },
  1413. "legend": {
  1414. "show": false,
  1415. "position": "bottom",
  1416. "float": "center",
  1417. "padding": 5,
  1418. "margin": 5,
  1419. "backgroundColor": "rgba(0,0,0,0)",
  1420. "borderColor": "rgba(0,0,0,0)",
  1421. "borderWidth": 0,
  1422. "fontSize": 13,
  1423. "fontColor": "#666666",
  1424. "lineHeight": 11,
  1425. "hiddenColor": "#CECECE",
  1426. "itemGap": 10
  1427. },
  1428. "extra": {
  1429. "area": {
  1430. "type": "straight",
  1431. "opacity": 1,
  1432. "addLine": true,
  1433. "width": 2,
  1434. "gradient": true
  1435. },
  1436. "tooltip": {
  1437. "showBox": false,
  1438. "showArrow": false,
  1439. "showCategory": false,
  1440. "borderWidth": 0,
  1441. "borderRadius": 0,
  1442. "borderColor": "#000000",
  1443. "borderOpacity": 0.7,
  1444. "bgColor": "#000000",
  1445. "bgOpacity": 0.7,
  1446. "gridType": "solid",
  1447. "dashLength": 4,
  1448. "gridColor": "#CCCCCC",
  1449. "fontColor": "#FFFFFF",
  1450. "splitLine": false,
  1451. "horizentalLine": false,
  1452. "xAxisLabel": false,
  1453. "yAxisLabel": false,
  1454. "labelBgColor": "#FFFFFF",
  1455. "labelBgOpacity": 0.7,
  1456. "labelFontColor": "#666666"
  1457. },
  1458. "markLine": {
  1459. "type": "solid",
  1460. "dashLength": 4,
  1461. "data": []
  1462. }
  1463. }
  1464. },
  1465. "mini-column": {
  1466. "type": "column",
  1467. "canvasId": "",
  1468. "canvas2d": false,
  1469. "background": "none",
  1470. "animation": true,
  1471. "timing": "easeOut",
  1472. "duration": 1000,
  1473. "color": [
  1474. "#0052d4",
  1475. "#ff5959",
  1476. "#f9b248"
  1477. ],
  1478. "padding": [
  1479. 0,
  1480. 13,
  1481. 0,
  1482. 13
  1483. ],
  1484. "rotate": false,
  1485. "errorReload": true,
  1486. "fontSize": 13,
  1487. "fontColor": "#666666",
  1488. "enableScroll": false,
  1489. "touchMoveLimit": 60,
  1490. "enableMarkLine": false,
  1491. "dataLabel": false,
  1492. "dataPointShape": false,
  1493. "dataPointShapeType": "solid",
  1494. "tapLegend": true,
  1495. "xAxis": {
  1496. "disabled": true,
  1497. "axisLine": false,
  1498. "axisLineColor": "#CCCCCC",
  1499. "calibration": false,
  1500. "fontColor": "#666666",
  1501. "fontSize": 13,
  1502. "rotateLabel": false,
  1503. "itemCount": 5,
  1504. "boundaryGap": "center",
  1505. "disableGrid": true,
  1506. "gridColor": "#CCCCCC",
  1507. "gridType": "solid",
  1508. "dashLength": 4,
  1509. "gridEval": 1,
  1510. "scrollShow": false,
  1511. "scrollAlign": "left",
  1512. "scrollColor": "#A6A6A6",
  1513. "scrollBackgroundColor": "#EFEBEF",
  1514. "format": ""
  1515. },
  1516. "yAxis": {
  1517. "disabled": true,
  1518. "disableGrid": true,
  1519. "splitNumber": 5,
  1520. "gridType": "solid",
  1521. "dashLength": 8,
  1522. "gridColor": "#CCCCCC",
  1523. "padding": 10,
  1524. "showTitle": false,
  1525. "data": []
  1526. },
  1527. "legend": {
  1528. "show": false,
  1529. "position": "bottom",
  1530. "float": "center",
  1531. "padding": 5,
  1532. "margin": 5,
  1533. "backgroundColor": "rgba(0,0,0,0)",
  1534. "borderColor": "rgba(0,0,0,0)",
  1535. "borderWidth": 0,
  1536. "fontSize": 13,
  1537. "fontColor": "#666666",
  1538. "lineHeight": 11,
  1539. "hiddenColor": "#CECECE",
  1540. "itemGap": 10
  1541. },
  1542. "extra": {
  1543. "column": {
  1544. "type": "group",
  1545. "width": 10,
  1546. "seriesGap": 2,
  1547. "categoryGap": 3,
  1548. "barBorderCircle": false,
  1549. "barBorderRadius": [
  1550. 10,
  1551. 10,
  1552. 10,
  1553. 10
  1554. ],
  1555. "linearType": "opacity",
  1556. "linearOpacity": 0.7,
  1557. "customColor": [
  1558. "#0052d4",
  1559. "#FFFFFF",
  1560. "#ff5959",
  1561. "#FFFFFF"
  1562. ],
  1563. "colorStop": 0.5,
  1564. "meterBorder": 1,
  1565. "meterFillColor": "#FFFFFF",
  1566. "activeBgColor": "#FFFFFF",
  1567. "activeBgOpacity": 0.08,
  1568. "meterBorde": 1
  1569. },
  1570. "tooltip": {
  1571. "showBox": false,
  1572. "showArrow": false,
  1573. "showCategory": false,
  1574. "borderWidth": 0,
  1575. "borderRadius": 0,
  1576. "borderColor": "#000000",
  1577. "borderOpacity": 0.7,
  1578. "bgColor": "#000000",
  1579. "bgOpacity": 0.7,
  1580. "gridType": "solid",
  1581. "dashLength": 4,
  1582. "gridColor": "#CCCCCC",
  1583. "fontColor": "#FFFFFF",
  1584. "splitLine": false,
  1585. "horizentalLine": false,
  1586. "xAxisLabel": false,
  1587. "yAxisLabel": false,
  1588. "labelBgColor": "#FFFFFF",
  1589. "labelBgOpacity": 0.7,
  1590. "labelFontColor": "#666666"
  1591. },
  1592. "markLine": {
  1593. "type": "solid",
  1594. "dashLength": 4,
  1595. "data": []
  1596. }
  1597. }
  1598. }
  1599. }
  1600. export default cfu;