647caff035acc8f23bac2feb49771d6d25070f8829400e46f89830e5aa286acae8f3c9de1b99ae81828c034edbbcc0a93d27780429fe4599dd9af1c9e3e0 1.9 KB

1
  1. {"code":"(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-089b95c6\"],{5069:function(t,e,i){},a089:function(t,e,i){\"use strict\";i.r(e);var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(\"div\",{staticClass:\"rtPriceChartDiv\"},[i(\"div\",{attrs:{id:\"rtPriceChart\"}})])}],a=i(\"313e\"),o={name:\"rtPriceChart\",data:function(){return{rtPriceChart:null}},destroyed:function(){this.rtPriceChart.dispose(),this.rtPriceChart=null},mounted:function(){this.initChart()},methods:{initChart:function(){null===this.rtPriceChart&&(this.rtPriceChart=a[\"init\"](document.getElementById(\"rtPriceChart\")));var t={realtimeValues:[\"451.1975\",\"497.0825\",\"576.11\",\"595.125\",\"580.595\",\"596.8\",\"617.415\",\"571.3125\",\"411.5\",\"142.865\",\"-71.035\",\"-80\",\"-52.1075\",\"-80\",\"-60\",\"-65.28\",\"99.8\"]},e={color:[\"#FFBF00\",\"#00DDFF\",\"#FF0087\",\"#37A2FF\",\"#80FFA5\"],xAxis:{data:[\"00:00\",\"01:00\",\"02:00\",\"03:00\",\"04:00\",\"05:00\",\"06:00\",\"07:00\",\"08:00\",\"09:00\",\"10:00\",\"11:00\",\"12:00\",\"13:00\",\"14:00\",\"15:00\",\"16:00\",\"17:00\",\"18:00\",\"19:00\",\"20:00\",\"21:00\",\"22:00\",\"23:00\"],boundaryGap:!1,axisLine:{show:!0,lineStyle:{color:\"#fff\"}},axisTick:{show:!1}},grid:{left:\"1%\",right:\"1%\",bottom:\"3%\",containLabel:!0},tooltip:{trigger:\"axis\"},yAxis:{name:\"单位:MW\",nameTextStyle:{color:\"#fff\"},axisLine:{show:!0,lineStyle:{color:\"#fff\"}},axisTick:{show:!1}},legend:{top:\"2%\",data:[\"实时电价\"],textStyle:{color:\"#fff\"}},series:[{name:\"实时电价\",type:\"line\",symbol:\"circle\",symbolSize:5,showSymbol:!1,data:t.realtimeValues}]};e&&this.rtPriceChart.setOption(e)}}},s=o,c=(i(\"ee60\"),i(\"2877\")),l=Object(c[\"a\"])(s,r,n,!1,null,\"2c529333\",null);e[\"default\"]=l.exports},ee60:function(t,e,i){\"use strict\";i(\"5069\")}}]);","extractedComments":[]}