monitor.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. /*############# 学历 岗位 ###############*/
  2. var dom = document.getElementById("xueli");
  3. var myChart = echarts.init(dom);
  4. var app = {};
  5. option = null;
  6. option = {
  7. title: {
  8. text: '学历',
  9. show:false,
  10. textStyle: {
  11. color: 'rgba(221,221,221,1)', //标题颜色
  12. fontSize: 14,
  13. lineHeight: 20,
  14. },
  15. // 标题的位置,此时放在图的底边
  16. //left: 'center',
  17. //top: 'bottom',
  18. },
  19. tooltip: {},
  20. legend: {
  21. textStyle: {
  22. color: '#0ff',
  23. },
  24. //图表上方显示的分类的位置定义
  25. top: "0%",
  26. left: "2%", // 图例组件离容器右侧的距离
  27. data: ['学历', '岗位'],
  28. },
  29. radar: {
  30. // shape: 'circle',
  31. name: {
  32. textStyle: {
  33. color: '#fff',
  34. backgroundColor: '#333',
  35. borderRadius: 3,
  36. padding: [3, 5]
  37. },
  38. },
  39. // 设置雷达图中间射线的颜色
  40. axisLine: {
  41. lineStyle: {
  42. color: 'rgba(131,141,158,.1)',
  43. },
  44. },
  45. indicator: [
  46. { name: '初中及以下', max: 500},
  47. { name: '高中', max: 660},
  48. { name: '大专', max: 300},
  49. { name: '本科', max: 900},
  50. { name: '本科', max: 900},
  51. { name: '博士及以上', max: 900},
  52. ],
  53. //雷达图背景的颜色,在这儿随便设置了一个颜色,完全不透明度为0,就实现了透明背景
  54. splitArea : {
  55. show : false,
  56. areaStyle : {
  57. color: 'rgba(255,0,0,0)', // 图表背景的颜色
  58. },
  59. },
  60. //splitLine : {
  61. // show : true,
  62. // lineStyle : {
  63. // width : 1,
  64. // color : 'rgba(0,0,0,.1)', // 设置网格的颜色
  65. // },
  66. // },
  67. },
  68. series: [{
  69. name: '学历', // tooltip中的标题
  70. type: 'radar', //表示是雷达图
  71. // areaStyle: {normal: {}},
  72. data : [
  73. {
  74. value : [430, 100, 280, 350, 500, 190],
  75. name : '学历',
  76. // 设置区域边框和区域的颜色
  77. itemStyle: {
  78. normal: {
  79. color: '#009991',
  80. lineStyle: {
  81. color: 'rgba(3,78,80,.3)',
  82. },
  83. },
  84. },
  85. }, {
  86. value : [230, 300, 180, 450, 300, 290],
  87. name : '岗位',
  88. // 设置区域边框和区域的颜色
  89. itemStyle: {
  90. normal: {
  91. color: '#009991',
  92. lineStyle: {
  93. color: 'rgba(3,78,80,.3)',
  94. },
  95. },
  96. },
  97. }
  98. ]
  99. }]
  100. };;
  101. if (option && typeof option === "object") {
  102. myChart.setOption(option, true);
  103. }
  104. /*############# 工种 ###############*/
  105. var dom = document.getElementById("gongzhong");
  106. var myChart = echarts.init(dom);
  107. var app = {};
  108. option = null;
  109. option = {
  110. title: {
  111. text: '工种',
  112. show:false,
  113. textStyle: {
  114. color: 'rgba(221,221,221,1)', //标题颜色
  115. fontSize: 14,
  116. lineHeight: 20,
  117. },
  118. // 标题的位置,此时放在图的底边
  119. //left: 'center',
  120. //top: 'bottom',
  121. },
  122. tooltip: {},
  123. legend: {
  124. data: []
  125. },
  126. radar: {
  127. // shape: 'circle',
  128. name: {
  129. textStyle: {
  130. color: '#fff',
  131. backgroundColor: '#333',
  132. borderRadius: 3,
  133. padding: [3, 5]
  134. },
  135. },
  136. // 设置雷达图中间射线的颜色
  137. axisLine: {
  138. lineStyle: {
  139. color: 'rgba(131,141,158,.1)',
  140. },
  141. },
  142. indicator: [
  143. { name: '木工', max: 500},
  144. { name: '钢筋工', max: 660},
  145. { name: '瓦泥工', max: 900},
  146. { name: '电焊工', max: 900},
  147. { name: '起重工', max: 900},
  148. ],
  149. //雷达图背景的颜色,在这儿随便设置了一个颜色,完全不透明度为0,就实现了透明背景
  150. splitArea : {
  151. show : false,
  152. areaStyle : {
  153. color: 'rgba(255,0,0,0)', // 图表背景的颜色
  154. },
  155. },
  156. //splitLine : {
  157. // show : true,
  158. // lineStyle : {
  159. // width : 1,
  160. // color : 'rgba(0,0,0,.1)', // 设置网格的颜色
  161. // },
  162. // },
  163. },
  164. series: [{
  165. name: '工种', // tooltip中的标题
  166. type: 'radar', //表示是雷达图
  167. // areaStyle: {normal: {}},
  168. data : [
  169. {
  170. value : [100, 280, 350, 500, 190],
  171. name : '工种',
  172. // 设置区域边框和区域的颜色
  173. itemStyle: {
  174. normal: {
  175. color: '#009991',
  176. lineStyle: {
  177. color: 'rgba(3,78,80,.3)',
  178. },
  179. },
  180. },
  181. },
  182. ]
  183. }]
  184. };;
  185. if (option && typeof option === "object") {
  186. myChart.setOption(option, true);
  187. }
  188. var dom = document.getElementById("nianlin");
  189. var myChart = echarts.init(dom);
  190. var app = {};
  191. option = null;
  192. option = {
  193. title: {
  194. text: '年龄',
  195. show:false,
  196. textStyle: {
  197. color: 'rgba(221,221,221,1)', //标题颜色
  198. fontSize: 14,
  199. lineHeight: 20,
  200. },
  201. // 标题的位置,此时放在图的底边
  202. //left: 'center',
  203. //top: 'bottom',
  204. },
  205. tooltip: {},
  206. legend: {
  207. data: []
  208. },
  209. radar: {
  210. // shape: 'circle',
  211. name: {
  212. textStyle: {
  213. color: '#fff',
  214. backgroundColor: '#333',
  215. borderRadius: 3,
  216. padding: [3, 5]
  217. },
  218. },
  219. // 设置雷达图中间射线的颜色
  220. axisLine: {
  221. lineStyle: {
  222. color: 'rgba(131,141,158,.1)',
  223. },
  224. },
  225. indicator: [
  226. { name: '25', max: 500},
  227. { name: '30', max: 660},
  228. { name: '35', max: 900},
  229. { name: '40', max: 900},
  230. { name: '45', max: 900},
  231. { name: '50', max: 900},
  232. ],
  233. //雷达图背景的颜色,在这儿随便设置了一个颜色,完全不透明度为0,就实现了透明背景
  234. splitArea : {
  235. show : false,
  236. areaStyle : {
  237. color: 'rgba(255,0,0,0)', // 图表背景的颜色
  238. },
  239. },
  240. //splitLine : {
  241. // show : true,
  242. // lineStyle : {
  243. // width : 1,
  244. // color : 'rgba(0,0,0,.1)', // 设置网格的颜色
  245. // },
  246. // },
  247. },
  248. series: [{
  249. name: '年龄', // tooltip中的标题
  250. type: 'radar', //表示是雷达图
  251. // areaStyle: {normal: {}},
  252. data : [
  253. {
  254. value : [150, 230, 450, 100,300,190],
  255. name : '年龄',
  256. // 设置区域边框和区域的颜色
  257. itemStyle: {
  258. normal: {
  259. color: '#009991',
  260. lineStyle: {
  261. color: 'rgba(3,78,80,.3)',
  262. },
  263. },
  264. },
  265. },
  266. ]
  267. }]
  268. };;
  269. if (option && typeof option === "object") {
  270. myChart.setOption(option, true);
  271. }
  272. /*############# 工种 ###############*/
  273. var dom = document.getElementById("gongzhong");
  274. var myChart = echarts.init(dom);
  275. var app = {};
  276. option = null;
  277. option = {
  278. title: {
  279. text: '工种',
  280. show:false,
  281. textStyle: {
  282. color: 'rgba(221,221,221,1)', //标题颜色
  283. fontSize: 14,
  284. lineHeight: 20,
  285. },
  286. // 标题的位置,此时放在图的底边
  287. //left: 'center',
  288. //top: 'bottom',
  289. },
  290. tooltip: {},
  291. legend: {
  292. data: []
  293. },
  294. radar: {
  295. // shape: 'circle',
  296. name: {
  297. textStyle: {
  298. color: '#fff',
  299. backgroundColor: '#333',
  300. borderRadius: 3,
  301. padding: [3, 5]
  302. },
  303. },
  304. // 设置雷达图中间射线的颜色
  305. axisLine: {
  306. lineStyle: {
  307. color: 'rgba(131,141,158,.1)',
  308. },
  309. },
  310. indicator: [
  311. { name: '木工', max: 500},
  312. { name: '钢筋工', max: 660},
  313. { name: '瓦泥工', max: 900},
  314. { name: '电焊工', max: 900},
  315. { name: '起重工', max: 900},
  316. ],
  317. //雷达图背景的颜色,在这儿随便设置了一个颜色,完全不透明度为0,就实现了透明背景
  318. splitArea : {
  319. show : false,
  320. areaStyle : {
  321. color: 'rgba(255,0,0,0)', // 图表背景的颜色
  322. },
  323. },
  324. //splitLine : {
  325. // show : true,
  326. // lineStyle : {
  327. // width : 1,
  328. // color : 'rgba(0,0,0,.1)', // 设置网格的颜色
  329. // },
  330. // },
  331. },
  332. series: [{
  333. name: '工种', // tooltip中的标题
  334. type: 'radar', //表示是雷达图
  335. // areaStyle: {normal: {}},
  336. data : [
  337. {
  338. value : [100, 280, 350, 500, 190],
  339. name : '工种',
  340. // 设置区域边框和区域的颜色
  341. itemStyle: {
  342. normal: {
  343. color: '#009991',
  344. lineStyle: {
  345. color: 'rgba(3,78,80,.3)',
  346. },
  347. },
  348. },
  349. },
  350. ]
  351. }]
  352. };;
  353. if (option && typeof option === "object") {
  354. myChart.setOption(option, true);
  355. }
  356. /*############# 经验 #############*/
  357. var dom = document.getElementById("jingyan");
  358. var myChart = echarts.init(dom);
  359. var app = {};
  360. option = null;
  361. option = {
  362. title: {
  363. text: '经验',
  364. show:false,
  365. textStyle: {
  366. color: 'rgba(221,221,221,1)', //标题颜色
  367. fontSize: 14,
  368. lineHeight: 20,
  369. },
  370. // 标题的位置,此时放在图的底边
  371. //left: 'center',
  372. //top: 'bottom',
  373. },
  374. tooltip: {},
  375. legend: {
  376. data: []
  377. },
  378. radar: {
  379. // shape: 'circle',
  380. name: {
  381. textStyle: {
  382. color: '#fff',
  383. backgroundColor: '#333',
  384. borderRadius: 3,
  385. padding: [3, 5]
  386. },
  387. },
  388. // 设置雷达图中间射线的颜色
  389. axisLine: {
  390. lineStyle: {
  391. color: 'rgba(131,141,158,.1)',
  392. },
  393. },
  394. indicator: [
  395. { name: '初级(工龄)', max: 500},
  396. { name: '中级(工龄)', max: 360},
  397. { name: '高级(工龄)', max: 200},
  398. ],
  399. //雷达图背景的颜色,在这儿随便设置了一个颜色,完全不透明度为0,就实现了透明背景
  400. splitArea : {
  401. show : false,
  402. areaStyle : {
  403. color: 'rgba(255,0,0,0)', // 图表背景的颜色
  404. },
  405. },
  406. //splitLine : {
  407. // show : true,
  408. // lineStyle : {
  409. // width : 1,
  410. // color : 'rgba(0,0,0,.1)', // 设置网格的颜色
  411. // },
  412. // },
  413. },
  414. series: [{
  415. name: '年龄', // tooltip中的标题
  416. type: 'radar', //表示是雷达图
  417. // areaStyle: {normal: {}},
  418. data : [
  419. {
  420. value : [150, 230,190],
  421. name : '年龄',
  422. // 设置区域边框和区域的颜色
  423. itemStyle: {
  424. normal: {
  425. color: '#009991',
  426. lineStyle: {
  427. color: 'rgba(3,78,80,.3)',
  428. },
  429. },
  430. },
  431. },
  432. ]
  433. }]
  434. };;
  435. if (option && typeof option === "object") {
  436. myChart.setOption(option, true);
  437. }
  438. /*############# 人员能力提升 ###############*/
  439. var dom = document.getElementById("rynlts");
  440. var myChart = echarts.init(dom);
  441. var app = {};
  442. option = null;
  443. option = {
  444. title: {
  445. text: '人员能力提升',
  446. textStyle: {
  447. color: '#fff', //标题颜色
  448. fontSize: 12,
  449. },
  450. // 标题的位置,此时放在图的底边
  451. left: '0%',
  452. top: '0%',
  453. },
  454. tooltip: {},
  455. legend: {
  456. data: []
  457. },
  458. radar: {
  459. // shape: 'circle',
  460. name: {
  461. textStyle: {
  462. color: '#fff',
  463. backgroundColor: '#333',
  464. borderRadius: 3,
  465. padding: [3, 5]
  466. },
  467. },
  468. indicator: [
  469. { name: '项目编号', max: 800},
  470. { name: '项目组', max: 800},
  471. { name: '人名', max: 800},
  472. { name: '知识', max: 800},
  473. { name: '技能', max: 800},
  474. { name: '态度', max: 800},
  475. { name: '特质', max: 800},
  476. { name: '动机', max: 800}
  477. ]
  478. },
  479. series: [{
  480. name: '',
  481. type: 'radar',
  482. // areaStyle: {normal: {}},
  483. data : [
  484. {
  485. value : [430, 100, 280, 350, 500, 450, 200, 190],
  486. name : 'aa'
  487. },
  488. ]
  489. }]
  490. };;
  491. if (option && typeof option === "object") {
  492. myChart.setOption(option, true);
  493. }
  494. /*############# 项目成本管理 ###############*/
  495. var dom = document.getElementById("xmcbgl");
  496. var myChart = echarts.init(dom);
  497. var app = {};
  498. option = null;
  499. option = {
  500. title: {
  501. text: '项目成本管理',
  502. textStyle: {
  503. color: 'rgba(221,221,221,1)', //标题颜色
  504. fontSize: 14,
  505. lineHeight: 20,
  506. },
  507. // 标题的位置,此时放在图的底边
  508. top: "20px",
  509. left: "2%",
  510. },
  511. tooltip : {
  512. trigger: 'axis',
  513. axisPointer: {
  514. type: 'cross',
  515. label: {
  516. backgroundColor: '#6a7985'
  517. }
  518. }
  519. },
  520. legend: {
  521. data:['项目编号','项目名称','工作量投入(量化)'],
  522. textStyle: {
  523. color: '#fff',
  524. },
  525. },
  526. toolbox: {
  527. feature: {
  528. saveAsImage: {}
  529. }
  530. },
  531. grid: {
  532. left: '3%',
  533. right: '4%',
  534. bottom: '3%',
  535. containLabel: true
  536. },
  537. xAxis : [
  538. {
  539. type : 'category',
  540. boundaryGap : false,
  541. data : ['1','2','3','4','5','6','7','8','9','10','11','12'],
  542. axisLabel: {
  543. show: true,
  544. textStyle: {
  545. color: '#fff'
  546. }
  547. }
  548. },
  549. ],
  550. yAxis : [
  551. {
  552. type : 'value',
  553. axisLabel: {
  554. show: true,
  555. textStyle: {
  556. color: '#fff'
  557. }
  558. }
  559. }
  560. ],
  561. series : [
  562. {
  563. name:'项目编号',
  564. type:'line',
  565. stack: '总量',
  566. areaStyle: {},
  567. data:[120, 132, 101, 134, 90, 230, 210, 132, 101, 134, 132, 101]
  568. },
  569. {
  570. name:'项目名称',
  571. type:'line',
  572. stack: '总量',
  573. areaStyle: {},
  574. data:[220, 182, 191, 234, 290, 330, 310, 191, 234, 290, 330,101]
  575. },
  576. {
  577. name:'工作量投入(量化)',
  578. type:'line',
  579. stack: '总量',
  580. areaStyle: {},
  581. data:[150, 232, 201, 154, 190, 330, 410, 201, 154, 190, 330,101]
  582. }
  583. ]
  584. };
  585. ;
  586. if (option && typeof option === "object") {
  587. myChart.setOption(option, true);
  588. }
  589. /*################ 目标与计 划##############*/
  590. var chart1 = echarts.init(document.getElementById("duzhu"));
  591. var dataX = ['项目编号', '项目名称', '投入人力', '目标人力', '投入时间', '目标时间', '投入费用', '目标费用'];
  592. var dataY1 = [100,350,500,680,,340,290,180];
  593. var dataY2 = [80,250,350,480,580,240,200,95];
  594. var dataY3 = [20,100,150,200,300,300,240,260];
  595. var dataY4 = [40,120,100,260,380,120,110,360];
  596. option = {
  597. title : {
  598. text : '各教育阶段人数统计',
  599. show:false
  600. },
  601. legend: {
  602. textStyle: {
  603. color: '#fff',
  604. },
  605. top: "0%",
  606. left: "0%",
  607. orient: 'horizontal',
  608. data: ['工程项目一','工程项目二','工程项目四', '工程项目三']
  609. },
  610. grid: {
  611. containLabel: false
  612. },
  613. tooltip: {
  614. show: "true",
  615. trigger: 'item',
  616. formatter : "{a}<br/>{b} : {c}人"
  617. },
  618. xAxis: {
  619. type: 'category',
  620. axisTick: {
  621. show: true
  622. },
  623. axisLine: {
  624. show: true,
  625. lineStyle: {
  626. color: '#333333',
  627. }
  628. },
  629. axisLabel: {
  630. inside: false,
  631. textStyle: {
  632. color: '#fff',
  633. fontWeight: 'normal',
  634. fontSize: '12',
  635. },
  636. formatter:function(value){
  637. return value.split("").join("\n")
  638. },
  639. },
  640. data: dataX
  641. },
  642. yAxis: {
  643. type: 'value',
  644. axisTick: {
  645. show: true
  646. },
  647. axisLine: {
  648. show: true,
  649. lineStyle: {
  650. color: '#0997c1',
  651. }
  652. },
  653. splitLine: {
  654. show: true,
  655. lineStyle: {
  656. color: '#333',
  657. type: 'dashed',
  658. opacity: 0.5
  659. }
  660. },
  661. axisLabel: {
  662. textStyle: {
  663. color: '#fff',
  664. fontWeight: 'normal',
  665. fontSize: '12',
  666. },
  667. },
  668. },
  669. series: [{
  670. name: '工程项目一',
  671. type: 'bar',
  672. itemStyle: {
  673. normal: {
  674. show: true,
  675. color:'#0997c1',
  676. barBorderRadius: 0,
  677. borderWidth: 0,
  678. }
  679. },
  680. zlevel: 2,
  681. barWidth: '10%',
  682. data: dataY1
  683. }, {
  684. name: '工程项目二',
  685. type: 'bar',
  686. itemStyle: {
  687. normal: {
  688. show: true,
  689. color: '#c22167',
  690. }
  691. },
  692. zlevel: 2,
  693. barGap: '100%',
  694. data: dataY2
  695. }, {
  696. name: '工程项目四',
  697. type: 'bar',
  698. itemStyle: {
  699. normal: {
  700. show: true,
  701. color: '#082773',
  702. }
  703. },
  704. zlevel: 2,
  705. barGap: '100%',
  706. data: dataY2
  707. }, {
  708. name: '工程项目三',
  709. type: 'bar',
  710. barWidth: '10%',
  711. itemStyle: {
  712. normal: {
  713. show: true,
  714. color: '#604fb9',
  715. barBorderRadius: 0,
  716. borderWidth: 0,
  717. }
  718. },
  719. zlevel: 2,
  720. barGap: '100%',
  721. data: dataY3
  722. }
  723. ]
  724. };
  725. // 使用刚指定的配置项和数据显示图表
  726. chart1.setOption(option)
  727. /*############# 项目管理(事务) ###############*/
  728. var dom = document.getElementById("xmgl");
  729. var myChart = echarts.init(dom);
  730. var app = {};
  731. option = null;
  732. option = {
  733. tooltip : {
  734. trigger: 'axis',
  735. axisPointer : { // 坐标轴指示器,坐标轴触发有效
  736. type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  737. }
  738. },
  739. legend: {
  740. data: ['项目编号','投入人力量化指标', '投入资金(万元)','工期时间(量化)'],
  741. textStyle: {
  742. color: '#fff',
  743. },
  744. },
  745. grid: {
  746. left: '3%',
  747. right: '4%',
  748. bottom: '3%',
  749. containLabel: true
  750. },
  751. xAxis: {
  752. type: 'value',
  753. axisLabel: {
  754. interval:0,
  755. rotate:10,
  756. color:'#fff'
  757. }
  758. },
  759. yAxis: {
  760. type: 'category',
  761. data: ['项目项目项目项目项目项目 ','项目二','项目三','项目四','项目五','项目六','项目日'],
  762. axisLabel: {
  763. interval:0,
  764. rotate:10,
  765. color:'#fff'
  766. }
  767. },
  768. series: [
  769. {
  770. name: '项目编号',
  771. type: 'bar',
  772. stack: '总量',
  773. label: {
  774. normal: {
  775. show: true,
  776. position: 'insideRight'
  777. }
  778. },
  779. data: [320, 302, 301, 334, 390, 330, 320]
  780. },
  781. {
  782. name: '投入人力量化指标',
  783. type: 'bar',
  784. stack: '总量',
  785. label: {
  786. normal: {
  787. show: true,
  788. position: 'insideRight'
  789. }
  790. },
  791. data: [320, 302, 301, 334, 390, 330, 320]
  792. },
  793. {
  794. name: '投入资金(万元)',
  795. type: 'bar',
  796. stack: '总量',
  797. label: {
  798. normal: {
  799. show: true,
  800. position: 'insideRight'
  801. }
  802. },
  803. data: [120, 132, 101, 134, 90, 230, 210]
  804. },
  805. {
  806. name: '工期时间(量化)',
  807. type: 'bar',
  808. stack: '总量',
  809. label: {
  810. normal: {
  811. show: true,
  812. position: 'insideRight'
  813. }
  814. },
  815. data: [220, 182, 191, 234, 290, 330, 310]
  816. },
  817. ]
  818. };;
  819. if (option && typeof option === "object") {
  820. myChart.setOption(option, true);
  821. }