energyValue 是后台返回的json数据,
在本地测试时,页面达到预期效果
部署之后,发现数据格式出现问题,energyValue .energyValue.t0JSON 的元素顺序变了
var energyValue = {"energyValue":{"t0JSON":[0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,2.00,2.00,2.00,2.00,2.00,2.00,2.00,4.00,6.00,9.00,11.00,15.00,17.00,18.00,18.00,18.00,18.00,19.00,19.00,19.00,19.00,19.00,20.00,20.00,20.00,20.00,20.00,21.00,21.00,24.00,26.00,30.00,32.00,37.00,39.00,43.00,45.00,47.00,49.00,51.00,52.00,52.00,52.00,52.00,53.00,53.00,53.00,53.00,53.00,53.00,54.00,54.00,54.00,54.00,54.00,54.00,55.00,55.00,55.00,55.00,55.00,55.00,56.00,56.00,56.00,56.00,57.00,57.00,57.00,57.00,58.00,58.00,58.00,58.00,59.00,59.00,59.00,59.00,59.00,59.00,59.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,60.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,62.00,62.00,62.00,63.00,63.00,63.00,64.00,64.00,64.00,64.00,65.00,65.00,65.00,65.00,65.00,66.00,66.00,66.00,66.00,66.00,67.00,67.00,67.00,69.00,72.00,74.00,78.00,82.00,83.00,85.00,88.00,91.00,92.00,94.00,95.00,96.00,96.00,99.00,101.00,104.00,105.00,106.00,107.00,108.00,111.00,113.00,117.00,118.00,120.00,122.00,124.00,125.00,127.00,131.00,133.00,136.00,137.00,139.00,141.00,145.00,146.00,149.00,151.00,154.00,156.00,160.00,163.00,165.00,167.00,168.00,172.00,174.00,177.00,178.00,180.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,181.00,209.00,213.00,214.00,218.00,220.00,223.00,224.00,227.00,228.00,231.00,233.00],"t1JSON":[0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,8.00,20.00,36.00,48.00,68.00,76.00,96.00,112.00,124.00,140.00,152.00,168.00,180.00,196.00,204.00,224.00,232.00,252.00,272.00,276.00,300.00,312.00,328.00,340.00,360.00,360.00,392.00,408.00,428.00,440.00,460.00,464.00,472.00,492.00,504.00,532.00,544.00,560.00,572.00,588.00,596.00,616.00,628.00,660.00,676.00,704.00,736.00,752.00,780.00,796.00,828.00,844.00,872.00,888.00,920.00,936.00,964.00,980.00,1012.00,1040.00,1056.00,1088.00,1100.00,1132.00,1148.00,1172.00,1180.00,1196.00,1204.00,1224.00,1232.00,1248.00,1264.00,1272.00,1288.00,1296.00,1312.00,1320.00,1340.00,1352.00,1372.00,1380.00,1400.00,1412.00,1444.00,1476.00,1492.00,1524.00,1540.00,1572.00,1588.00,1616.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1624.00,1796.00,1820.00,1832.00,1852.00,1868.00,1892.00,1904.00,1928.00,1940.00,1968.00,1980.00,2004.00,2016.00,2044.00,2068.00,2080.00,2104.00,2120.00,2144.00,2156.00,2180.00,2196.00,2220.00,2232.00,2248.00,2264.00,2296.00,2324.00,2340.00,2364.00,2368.00,2408.00,2428.00,2468.00,2480.00,2508.00,2524.00,2548.00,2560.00,2580.00,2596.00,2608.00,2624.00,2632.00,2644.00,2656.00,2672.00,2680.00,2700.00,2712.00,2732.00,2744.00,2764.00,2784.00,2792.00,2812.00,2824.00,2840.00,2852.00,2872.00,2884.00,2900.00,2912.00,2936.00,2944.00,2964.00,2980.00,2984.00,3004.00,3016.00,3036.00,3044.00,3064.00,3076.00,3124.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3144.00,3408.00,3432.00,3444.00,3468.00,3484.00,3512.00,3528.00,3552.00,3564.00,3584.00,3592.00]},"equIDValue":{"t0JSON":"HTZG0006","t1JSON":"HTZG0005"},"length":2,"xAxisValue":{"00:00":"00:00","00:05":"00:05","00:10":"00:10","00:15":"00:15","00:20":"00:20","00:25":"00:25","00:30":"00:30","00:35":"00:35","00:40":"00:40","00:45":"00:45","00:50":"00:50","00:55":"00:55","01:00":"01:00","01:05":"01:05","01:10":"01:10","01:15":"01:15","01:20":"01:20","01:25":"01:25","01:30":"01:30","01:35":"01:35","01:40":"01:40","01:45":"01:45","01:50":"01:50","01:55":"01:55","02:00":"02:00","02:05":"02:05","02:10":"02:10","02:15":"02:15","02:20":"02:20","02:25":"02:25","02:30":"02:30","02:35":"02:35","02:40":"02:40","02:45":"02:45","02:50":"02:50","02:55":"02:55","03:00":"03:00","03:05":"03:05","03:10":"03:10","03:15":"03:15","03:20":"03:20","03:25":"03:25","03:30":"03:30","03:35":"03:35","03:40":"03:40","03:45":"03:45","03:50":"03:50","03:55":"03:55","04:00":"04:00","04:05":"04:05","04:10":"04:10","04:15":"04:15","04:20":"04:20","04:25":"04:25","04:30":"04:30","04:35":"04:35","04:40":"04:40","04:45":"04:45","04:50":"04:50","04:55":"04:55","05:00":"05:00","05:05":"05:05","05:10":"05:10","05:15":"05:15","05:20":"05:20","05:25":"05:25","05:30":"05:30","05:35":"05:35","05:40":"05:40","05:45":"05:45","05:50":"05:50","05:55":"05:55","06:00":"06:00","06:05":"06:05","06:10":"06:10","06:15":"06:15","06:20":"06:20","06:25":"06:25","06:30":"06:30","06:35":"06:35","06:40":"06:40","06:45":"06:45","06:50":"06:50","06:55":"06:55","07:00":"07:00","07:05":"07:05","07:10":"07:10","07:15":"07:15","07:20":"07:20","07:25":"07:25","07:30":"07:30","07:35":"07:35","07:40":"07:40","07:45":"07:45","07:50":"07:50","07:55":"07:55","08:00":"08:00","08:05":"08:05","08:10":"08:10","08:15":"08:15","08:20":"08:20","08:25":"08:25","08:30":"08:30","08:35":"08:35","08:40":"08:40","08:45":"08:45","08:50":"08:50","08:55":"08:55","09:00":"09:00","09:05":"09:05","09:10":"09:10","09:15":"09:15","09:20":"09:20","09:25":"09:25","09:30":"09:30","09:35":"09:35","09:40":"09:40","09:45":"09:45","09:50":"09:50","09:55":"09:55","10:00":"10:00","10:05":"10:05","10:10":"10:10","10:15":"10:15","10:20":"10:20","10:25":"10:25","10:30":"10:30","10:35":"10:35","10:40":"10:40","10:45":"10:45","10:50":"10:50","10:55":"10:55","11:00":"11:00","11:05":"11:05","11:10":"11:10","11:15":"11:15","11:20":"11:20","11:25":"11:25","11:30":"11:30","11:35":"11:35","11:40":"11:40","11:45":"11:45","11:50":"11:50","11:55":"11:55","12:00":"12:00","12:05":"12:05","12:10":"12:10","12:15":"12:15","12:20":"12:20","12:25":"12:25","12:30":"12:30","12:35":"12:35","12:40":"12:40","12:45":"12:45","12:50":"12:50","12:55":"12:55","13:00":"13:00","13:05":"13:05","13:10":"13:10","13:15":"13:15","13:20":"13:20","13:25":"13:25","13:30":"13:30","13:35":"13:35","13:40":"13:40","13:45":"13:45","13:50":"13:50","13:55":"13:55","14:00":"14:00","14:05":"14:05","14:10":"14:10","14:15":"14:15","14:20":"14:20","14:25":"14:25","14:30":"14:30","14:35":"14:35","14:40":"14:40","14:45":"14:45","14:50":"14:50","14:55":"14:55","15:00":"15:00","15:05":"15:05","15:10":"15:10","15:15":"15:15","15:20":"15:20","15:25":"15:25","15:30":"15:30","15:35":"15:35","15:40":"15:40","15:45":"15:45","15:50":"15:50","15:55":"15:55","16:00":"16:00","16:05":"16:05","16:10":"16:10","16:15":"16:15","16:20":"16:20","16:25":"16:25","16:30":"16:30","16:35":"16:35","16:40":"16:40","16:45":"16:45","16:50":"16:50","16:55":"16:55","17:00":"17:00","17:05":"17:05","17:10":"17:10","17:15":"17:15","17:20":"17:20","17:25":"17:25","17:30":"17:30","17:35":"17:35","17:40":"17:40","17:45":"17:45","17:50":"17:50","17:55":"17:55","18:00":"18:00","18:05":"18:05","18:10":"18:10","18:15":"18:15","18:20":"18:20","18:25":"18:25","18:30":"18:30","18:35":"18:35","18:40":"18:40","18:45":"18:45","18:50":"18:50","18:55":"18:55","19:00":"19:00","19:05":"19:05","19:10":"19:10","19:15":"19:15","19:20":"19:20","19:25":"19:25","19:30":"19:30","19:35":"19:35","19:40":"19:40","19:45":"19:45","19:50":"19:50","19:55":"19:55","20:00":"20:00","20:05":"20:05","20:10":"20:10","20:15":"20:15","20:20":"20:20","20:25":"20:25","20:30":"20:30","20:35":"20:35","20:40":"20:40","20:45":"20:45","20:50":"20:50","20:55":"20:55","21:00":"21:00","21:05":"21:05","21:10":"21:10","21:15":"21:15","21:20":"21:20","21:25":"21:25","21:30":"21:30","21:35":"21:35","21:40":"21:40","21:45":"21:45","21:50":"21:50","21:55":"21:55","22:00":"22:00","22:05":"22:05","22:10":"22:10","22:15":"22:15","22:20":"22:20","22:25":"22:25","22:30":"22:30","22:35":"22:35","22:40":"22:40","22:45":"22:45","22:50":"22:50","22:55":"22:55","23:00":"23:00","23:05":"23:05","23:10":"23:10","23:15":"23:15","23:20":"23:20","23:25":"23:25","23:30":"23:30","23:35":"23:35","23:40":"23:40","23:45":"23:45","23:50":"23:50","23:55":"23:55"}}
|