agc.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  1. var chart1;
  2. var chart2;
  3. var chart3;
  4. var chart4;
  5. var chart5;
  6. var chart6;
  7. var chart7;
  8. var chart8;
  9. var options1;
  10. var options2;
  11. var options3;
  12. var options4;
  13. var options5;
  14. var options6;
  15. var options7;
  16. var options8;
  17. Highcharts.setOptions({
  18. global : {
  19. useUTC : false
  20. }
  21. });
  22. String.prototype.endWith=function(oString){
  23. var reg=new RegExp(oString+"$");
  24. return reg.test(this);
  25. };
  26. options1= {
  27. colors: [
  28. '#00B259', //绿
  29. '#B20000', //红
  30. '#006DD9', //蓝
  31. '#000000', //黑
  32. '#FFBFFF',//藕荷色
  33. '#FF8000'//橘黄
  34. ],
  35. chart: {
  36. renderTo: 'container1',
  37. type: 'spline',
  38. zoomType: 'x',
  39. events: {
  40. }
  41. },
  42. title: {
  43. text: '崇礼风电场AGC功率曲线'
  44. },
  45. subtitle: {
  46. text: ''
  47. },
  48. xAxis: {
  49. labels: {
  50. align: 'center',
  51. formatter: function() {
  52. return Highcharts.dateFormat('%H %M', this.value);
  53. }
  54. },
  55. //tickInterval: 5,
  56. type: 'datetime'
  57. },
  58. yAxis: [{
  59. title: {
  60. text: '功率数值(MW)'
  61. }
  62. }
  63. /* ,{
  64. title:{
  65. text :'风速(m/s)'
  66. },
  67. labels:{
  68. formatter: function(){
  69. return this.value;
  70. }
  71. },
  72. lineWidth : 1,
  73. opposite:true
  74. }*/],
  75. legend: {
  76. layout: 'vertical',
  77. // backgroundColor: '#FFFFFF',
  78. align: 'right',
  79. verticalAlign: 'top',
  80. x:-60,
  81. floating: true
  82. },
  83. tooltip: {
  84. crosshairs:{//控制十字线
  85. width:2
  86. },
  87. shared:true,
  88. xDateFormat:'%Y-%m-%d %H:%M'
  89. },
  90. credits: {
  91. enabled: false
  92. },
  93. plotOptions: {
  94. spline: {
  95. dataLabels : {
  96. enabled :false
  97. },
  98. borderWidth: 0
  99. },
  100. series: {
  101. cursor: 'pointer',
  102. marker: {
  103. radius: 0,
  104. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  105. }
  106. }
  107. },
  108. series: [{
  109. type: 'spline',
  110. name: '实际功率(单位:MW)',
  111. yAxis:0
  112. },
  113. {
  114. type: 'spline',
  115. name: 'AGC限电指令值(单位:MW)',
  116. yAxis:0
  117. },{
  118. type: 'spline',
  119. name: '理论功率(单位:MW)',
  120. yAxis:0
  121. }/*{
  122. type: 'spline',
  123. name: '超短期预测功率(单位:MW)',
  124. yAxis:0
  125. },{
  126. type: 'spline',
  127. name: '短期预测功率(单位:MW)',
  128. yAxis:0
  129. }*/]
  130. };
  131. options2= {
  132. colors: [
  133. '#00B259', //绿
  134. '#B20000', //红
  135. '#006DD9', //蓝
  136. '#000000', //黑
  137. '#FFBFFF',//藕荷色
  138. '#FF8000'//橘黄
  139. ],
  140. chart: {
  141. renderTo: 'container2',
  142. type: 'spline',
  143. zoomType: 'x',
  144. events: {
  145. }
  146. },
  147. title: {
  148. text: '康保风电场AGC功率曲线'
  149. },
  150. subtitle: {
  151. text: ''
  152. },
  153. xAxis: {
  154. labels: {
  155. align: 'center',
  156. formatter: function() {
  157. return Highcharts.dateFormat('%H %M', this.value);
  158. }
  159. },
  160. //tickInterval: 10,
  161. type: 'datetime'
  162. },
  163. yAxis: [{
  164. title: {
  165. text: '功率数值(MW)'
  166. }
  167. }
  168. /* ,{
  169. title:{
  170. text :'风速(m/s)'
  171. },
  172. labels:{
  173. formatter: function(){
  174. return this.value;
  175. }
  176. },
  177. lineWidth : 1,
  178. opposite:true
  179. }*/],
  180. legend: {
  181. layout: 'vertical',
  182. align: 'right',
  183. verticalAlign: 'top',
  184. x:-60,
  185. floating: true
  186. },
  187. tooltip: {
  188. crosshairs:{//控制十字线
  189. width:2
  190. },
  191. shared:true,
  192. xDateFormat:'%Y-%m-%d %H:%M'
  193. },
  194. credits: {
  195. enabled: false
  196. },
  197. plotOptions: {
  198. spline: {
  199. dataLabels : {
  200. enabled :false
  201. },
  202. borderWidth: 0
  203. },
  204. series: {
  205. cursor: 'pointer',
  206. marker: {
  207. radius: 0,
  208. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  209. }
  210. }
  211. },
  212. series: [{
  213. type: 'spline',
  214. name: '实际功率(单位:MW)',
  215. yAxis:0
  216. },
  217. {
  218. type: 'spline',
  219. name: 'AGC限电指令值(单位:MW)',
  220. yAxis:0
  221. },{
  222. type: 'spline',
  223. name: '理论功率(单位:MW)',
  224. yAxis:0
  225. }/*,{
  226. type: 'spline',
  227. name: '超短期预测功率(单位:MW)',
  228. yAxis:0
  229. },{
  230. type: 'spline',
  231. name: '短期预测功率(单位:MW)',
  232. yAxis:0
  233. }*/]
  234. };
  235. options3= {
  236. colors: [
  237. '#00B259', //绿
  238. '#B20000', //红
  239. '#006DD9', //蓝
  240. '#000000', //黑
  241. '#FFBFFF',//藕荷色
  242. '#FF8000'//橘黄
  243. ],
  244. chart: {
  245. renderTo: 'container3',
  246. type: 'spline',
  247. zoomType: 'x',
  248. events: {
  249. }
  250. },
  251. title: {
  252. text: '代县风电场AGC功率曲线'
  253. },
  254. subtitle: {
  255. text: ''
  256. },
  257. xAxis: {
  258. labels: {
  259. align: 'center',
  260. formatter: function() {
  261. return Highcharts.dateFormat('%H %M', this.value);
  262. }
  263. },
  264. //tickInterval: 10,
  265. type: 'datetime'
  266. },
  267. yAxis: [{
  268. title: {
  269. text: '功率数值(MW)'
  270. }
  271. }
  272. /* ,{
  273. title:{
  274. text :'风速(m/s)'
  275. },
  276. labels:{
  277. formatter: function(){
  278. return this.value;
  279. }
  280. },
  281. lineWidth : 1,
  282. opposite:true
  283. }*/],
  284. legend: {
  285. layout: 'vertical',
  286. align: 'right',
  287. verticalAlign: 'top',
  288. x:-60,
  289. floating: true
  290. },
  291. tooltip: {
  292. crosshairs:{//控制十字线
  293. width:2
  294. },
  295. shared:true,
  296. xDateFormat:'%Y-%m-%d %H:%M'
  297. },
  298. credits: {
  299. enabled: false
  300. },
  301. plotOptions: {
  302. spline: {
  303. dataLabels : {
  304. enabled :false
  305. },
  306. borderWidth: 0
  307. },
  308. series: {
  309. cursor: 'pointer',
  310. marker: {
  311. radius: 0,
  312. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  313. }
  314. }
  315. },
  316. series: [{
  317. type: 'spline',
  318. name: '实际功率(单位:MW)',
  319. yAxis:0
  320. },
  321. {
  322. type: 'spline',
  323. name: 'AGC限电指令值(单位:MW)',
  324. yAxis:0
  325. },{
  326. type: 'spline',
  327. name: '理论功率(单位:MW)',
  328. yAxis:0
  329. }/*,{
  330. type: 'spline',
  331. name: '超短期预测功率(单位:MW)',
  332. yAxis:0
  333. },{
  334. type: 'spline',
  335. name: '短期预测功率(单位:MW)',
  336. yAxis:0
  337. }*/
  338. ]
  339. };
  340. options7= {
  341. colors: [
  342. '#00B259', //绿
  343. '#B20000', //红
  344. '#006DD9', //蓝
  345. '#000000', //黑
  346. '#FFBFFF',//藕荷色
  347. '#FF8000'//橘黄
  348. ],
  349. chart: {
  350. renderTo: 'container4',
  351. type: 'spline',
  352. zoomType: 'x',
  353. events: {
  354. }
  355. },
  356. title: {
  357. text: '冠山风电场AGC功率曲线'
  358. },
  359. subtitle: {
  360. text: ''
  361. },
  362. xAxis: {
  363. labels: {
  364. align: 'center',
  365. formatter: function() {
  366. return Highcharts.dateFormat('%H %M', this.value);
  367. }
  368. },
  369. //tickInterval: 10,
  370. type: 'datetime'
  371. },
  372. yAxis: [{
  373. title: {
  374. text: '功率数值(MW)'
  375. }
  376. }
  377. /* ,{
  378. title:{
  379. text :'风速(m/s)'
  380. },
  381. labels:{
  382. formatter: function(){
  383. return this.value;
  384. }
  385. },
  386. lineWidth : 1,
  387. opposite:true
  388. }*/],
  389. legend: {
  390. layout: 'vertical',
  391. align: 'right',
  392. verticalAlign: 'top',
  393. x:-60,
  394. floating: true
  395. },
  396. tooltip: {
  397. crosshairs:{//控制十字线
  398. width:2
  399. },
  400. shared:true,
  401. xDateFormat:'%Y-%m-%d %H:%M'
  402. },
  403. credits: {
  404. enabled: false
  405. },
  406. plotOptions: {
  407. spline: {
  408. dataLabels : {
  409. enabled :false
  410. },
  411. borderWidth: 0
  412. },
  413. series: {
  414. cursor: 'pointer',
  415. marker: {
  416. radius: 0,
  417. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  418. }
  419. }
  420. },
  421. series: [{
  422. type: 'spline',
  423. name: '实际功率(单位:MW)',
  424. yAxis:0
  425. },
  426. {
  427. type: 'spline',
  428. name: 'AGC限电指令值(单位:MW)',
  429. yAxis:0
  430. },{
  431. type: 'spline',
  432. name: '理论功率(单位:MW)',
  433. yAxis:0
  434. }/*,{
  435. type: 'spline',
  436. name: '超短期预测功率(单位:MW)',
  437. yAxis:0
  438. },{
  439. type: 'spline',
  440. name: '短期预测功率(单位:MW)',
  441. yAxis:0
  442. }*/
  443. ]
  444. };
  445. options4= {
  446. colors: [
  447. '#00B259', //绿
  448. '#B20000', //红
  449. '#006DD9', //蓝
  450. '#000000', //黑
  451. '#FFBFFF',//藕荷色
  452. '#FF8000'//橘黄
  453. ],
  454. chart: {
  455. renderTo: 'container1',
  456. type: 'spline',
  457. zoomType: 'x',
  458. events: {
  459. }
  460. },
  461. title: {
  462. text: '红花梁AVC电压曲线'
  463. },
  464. subtitle: {
  465. text: ''
  466. },
  467. xAxis: {
  468. labels: {
  469. align: 'center',
  470. formatter: function() {
  471. return Highcharts.dateFormat('%H %M', this.value);
  472. }
  473. },
  474. //tickInterval: 10,
  475. type: 'datetime'
  476. },
  477. yAxis: [{
  478. title: {
  479. text: '电压(KV)'
  480. }
  481. }
  482. ],
  483. legend: {
  484. layout: 'vertical',
  485. align: 'right',
  486. verticalAlign: 'top',
  487. x:-60,
  488. floating: true
  489. },
  490. tooltip: {
  491. crosshairs:{//控制十字线
  492. width:2
  493. },
  494. shared:true,
  495. xDateFormat:'%Y-%m-%d %H:%M'
  496. },
  497. credits: {
  498. enabled: false
  499. },
  500. plotOptions: {
  501. spline: {
  502. dataLabels : {
  503. enabled :false
  504. },
  505. borderWidth: 0
  506. },
  507. series: {
  508. cursor: 'pointer',
  509. marker: {
  510. radius: 0,
  511. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  512. }
  513. }
  514. },
  515. series: [{
  516. type: 'spline',
  517. name: 'AVC母线电压实际值(单位:KV)',
  518. yAxis:0
  519. },
  520. {
  521. type: 'spline',
  522. name: 'AVC母线电压调控值(单位:KV)',
  523. yAxis:0
  524. }]
  525. };
  526. options5= {
  527. colors: [
  528. '#00B259', //绿
  529. '#B20000', //红
  530. '#006DD9', //蓝
  531. '#000000', //黑
  532. '#FFBFFF',//藕荷色
  533. '#FF8000'//橘黄
  534. ],
  535. chart: {
  536. renderTo: 'container2',
  537. type: 'spline',
  538. zoomType: 'x',
  539. events: {
  540. }
  541. },
  542. title: {
  543. text: '照阳河AVC电压曲线'
  544. },
  545. subtitle: {
  546. text: ''
  547. },
  548. xAxis: {
  549. labels: {
  550. align: 'center',
  551. formatter: function() {
  552. return Highcharts.dateFormat('%H %M', this.value);
  553. }
  554. },
  555. //tickInterval: 10,
  556. type: 'datetime'
  557. },
  558. yAxis: [{
  559. title: {
  560. text: '电压(KV)'
  561. }
  562. }
  563. ],
  564. legend: {
  565. layout: 'vertical',
  566. align: 'right',
  567. verticalAlign: 'top',
  568. x:-60,
  569. floating: true
  570. },
  571. tooltip: {
  572. crosshairs:{//控制十字线
  573. width:2
  574. },
  575. shared:true,
  576. xDateFormat:'%Y-%m-%d %H:%M'
  577. },
  578. credits: {
  579. enabled: false
  580. },
  581. plotOptions: {
  582. spline: {
  583. dataLabels : {
  584. enabled :false
  585. },
  586. borderWidth: 0
  587. },
  588. series: {
  589. cursor: 'pointer',
  590. marker: {
  591. radius: 0,
  592. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  593. }
  594. }
  595. },
  596. series: [{
  597. type: 'spline',
  598. name: 'AVC母线电压实际值(单位:KV)',
  599. yAxis:0
  600. },
  601. {
  602. type: 'spline',
  603. name: 'AVC母线电压调控值(单位:KV)',
  604. yAxis:0
  605. }]
  606. };
  607. options6= {
  608. colors: [
  609. '#00B259', //绿
  610. '#B20000', //红
  611. '#006DD9', //蓝
  612. '#000000', //黑
  613. '#FFBFFF',//藕荷色
  614. '#FF8000'//橘黄
  615. ],
  616. chart: {
  617. renderTo: 'container3',
  618. type: 'spline',
  619. zoomType: 'x',
  620. events: {
  621. }
  622. },
  623. title: {
  624. text: '雁门关AVC电压曲线'
  625. },
  626. subtitle: {
  627. text: ''
  628. },
  629. xAxis: {
  630. labels: {
  631. align: 'center',
  632. formatter: function() {
  633. return Highcharts.dateFormat('%H %M', this.value);
  634. }
  635. },
  636. //tickInterval: 10,
  637. type: 'datetime'
  638. },
  639. yAxis: [{
  640. title: {
  641. text: '电压(KV)'
  642. }
  643. }
  644. ],
  645. legend: {
  646. layout: 'vertical',
  647. align: 'right',
  648. verticalAlign: 'top',
  649. x:-60,
  650. floating: true
  651. },
  652. tooltip: {
  653. crosshairs:{//控制十字线
  654. width:2
  655. },
  656. shared:true,
  657. xDateFormat:'%Y-%m-%d %H:%M'
  658. },
  659. credits: {
  660. enabled: false
  661. },
  662. plotOptions: {
  663. spline: {
  664. dataLabels : {
  665. enabled :false
  666. },
  667. borderWidth: 0
  668. },
  669. series: {
  670. cursor: 'pointer',
  671. marker: {
  672. radius: 0,
  673. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  674. }
  675. }
  676. },
  677. series: [{
  678. type: 'spline',
  679. name: 'AVC母线电压实际值(单位:KV)',
  680. yAxis:0
  681. },
  682. {
  683. type: 'spline',
  684. name: 'AVC母线电压调控值(单位:KV)',
  685. yAxis:0
  686. }]
  687. };
  688. options8= {
  689. colors: [
  690. '#00B259', //绿
  691. '#B20000', //红
  692. '#006DD9', //蓝
  693. '#000000', //黑
  694. '#FFBFFF',//藕荷色
  695. '#FF8000'//橘黄
  696. ],
  697. chart: {
  698. renderTo: 'container4',
  699. type: 'spline',
  700. zoomType: 'x',
  701. events: {
  702. }
  703. },
  704. title: {
  705. text: '冠山AVC电压曲线'
  706. },
  707. subtitle: {
  708. text: ''
  709. },
  710. xAxis: {
  711. labels: {
  712. align: 'center',
  713. formatter: function() {
  714. return Highcharts.dateFormat('%H %M', this.value);
  715. }
  716. },
  717. //tickInterval: 10,
  718. type: 'datetime'
  719. },
  720. yAxis: [{
  721. title: {
  722. text: '电压(KV)'
  723. }
  724. }
  725. ],
  726. legend: {
  727. layout: 'vertical',
  728. align: 'right',
  729. verticalAlign: 'top',
  730. x:-60,
  731. floating: true
  732. },
  733. tooltip: {
  734. crosshairs:{//控制十字线
  735. width:2
  736. },
  737. shared:true,
  738. xDateFormat:'%Y-%m-%d %H:%M'
  739. },
  740. credits: {
  741. enabled: false
  742. },
  743. plotOptions: {
  744. spline: {
  745. dataLabels : {
  746. enabled :false
  747. },
  748. borderWidth: 0
  749. },
  750. series: {
  751. cursor: 'pointer',
  752. marker: {
  753. radius: 0,
  754. symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
  755. }
  756. }
  757. },
  758. series: [{
  759. type: 'spline',
  760. name: 'AVC母线电压实际值(单位:KV)',
  761. yAxis:0
  762. },
  763. {
  764. type: 'spline',
  765. name: 'AVC母线电压调控值(单位:KV)',
  766. yAxis:0
  767. }]
  768. };
  769. function agcLine(wpid,type){
  770. var url = "/agc/getAgcLine.action";
  771. if(type=="s"){
  772. url = "/agc/getAgcLineForSimple.action?wpid="+wpid;
  773. }
  774. $.ajax({
  775. url : url,
  776. type : "post",
  777. cache : false,
  778. dataType : "json",
  779. data : {},
  780. ifModified : false,
  781. success : function(result) {
  782. $.each(result, function(k, v) {
  783. //alert(k +"==" + v.length)
  784. var xdgl = [];
  785. var sjgl = [];
  786. var xtime =[];
  787. var ycgl = [];
  788. var llgl =[];
  789. var dqcr =[];
  790. var index=0;
  791. var count1=0;
  792. var count2=0;
  793. var count3=0;
  794. var count4=0;
  795. $.each(v, function(i,obj) {
  796. if(index<obj.value8){
  797. index++;
  798. if(obj.value3!=null){
  799. ycgl.push( parseFloat(obj.value3) );
  800. /*if(k=="KB_FDC"){
  801. dqcr.push(parseFloat(obj.value3*0.85));}*/
  802. }else{
  803. ycgl.push( null );
  804. }
  805. }
  806. if(count1 < obj.value6){
  807. if(obj.value1==null){
  808. sjgl.push(null);
  809. }else{
  810. sjgl.push(parseFloat(obj.value1));
  811. }
  812. count1++;
  813. }
  814. if(count2 < obj.value7){
  815. if(obj.value2==null){
  816. xdgl.push(null);
  817. }else{
  818. xdgl.push(parseFloat(obj.value2));
  819. }
  820. count2++;
  821. }
  822. if(count3 < obj.value5){
  823. if(obj.value4==null){
  824. llgl.push(null);
  825. }else{
  826. llgl.push(parseFloat(obj.value4));
  827. }
  828. count3++;
  829. }
  830. /*if(count4 < obj.value10){
  831. if(obj.value9==null){
  832. dqcr.push(0.0);
  833. }else{
  834. if(k=="KB_FDC"){
  835. }else{
  836. dqcr.push(parseFloat(obj.value9));
  837. }
  838. }
  839. count4++;
  840. }*/
  841. if(obj.time==null){
  842. xtime.push(null);
  843. }else{
  844. xtime.push(parseFloat(obj.time));
  845. }
  846. });
  847. if(k=="CL_FDC"){
  848. options1.series[0].data = sjgl;
  849. options1.series[1].data = xdgl;
  850. // options1.series[3].data = ycgl;
  851. options1.series[2].data = llgl;
  852. /*options1.series[4].data = dqcr;*/
  853. options1.xAxis.categories = xtime;
  854. chart1 = new Highcharts.Chart(options1);
  855. }else if(k=="KB_FDC"){
  856. options2.series[0].data = sjgl;
  857. options2.series[1].data = xdgl;
  858. // options2.series[3].data = ycgl;
  859. options2.series[2].data = llgl;
  860. /*options2.series[4].data = dqcr;*/
  861. options2.xAxis.categories = xtime;
  862. chart2 = new Highcharts.Chart(options2);
  863. }else if(k=="DX_FDC"){
  864. options3.series[0].data = sjgl;
  865. options3.series[1].data = xdgl;
  866. // options3.series[2].data = ycgl;
  867. options3.series[2].data = llgl;
  868. /*options3.series[4].data = dqcr;*/
  869. options3.xAxis.categories = xtime;
  870. chart3 = new Highcharts.Chart(options3);
  871. }
  872. else if(k=="SY_FDC"){
  873. options7.series[0].data = sjgl;
  874. options7.series[1].data = xdgl;
  875. // options8.series[2].data = ycgl;
  876. options7.series[2].data = llgl;
  877. /*options8.series[4].data = dqcr;*/
  878. options7.xAxis.categories = xtime;
  879. chart7 = new Highcharts.Chart(options7);
  880. }
  881. });
  882. /*chart1 = new Highcharts.Chart(options1);
  883. chart2 = new Highcharts.Chart(options2);
  884. chart3 = new Highcharts.Chart(options3);*/
  885. }
  886. });
  887. }