btcecharts 折线配置项内容和展示

配置项如下
      diff = [12153412,15605633,19339258,21335329,26162876,31256961,37392766,50810339,65750060,86933018,112628549,148819200,189281249,267731249,390928788,510929738,609482680,707408283,908350862,1180923195,1418481395,1789546951,2193847870,2621404453,3129573175,3815723799,4250217920,5006860589,6119726089,6978842650,8000872136,8853416309,10455720138,11756551917,13462580115,16818461371,17336316979,18736441558,19729645941,23844670039,27428630902,29829733124,34661425924,35002482026,35985640265,39603666252,40300030328,40007470271,39457671307,40640955017,43971662056,41272873895,44455415962,46684376317,47427554951,46717549645,49446390688,47610564513,47643398018,48807487245,47589591154,49692386355,49402014931,51076366303,52278304846,52699842409,54256630328,56957648455,59335351234,60813224039,60883825480,62253982450,65848255180,72722780643,79102380900,93448670796,103880340815,113354299801,120033340651,144116447847,163491654909,158427203767,165496835118,166851513283,178678307672,178659257773,194254820283,199312067531,196061423940,209453158595,213398925331,213492501108,201893210853,217375482757,220755908330,225832872179,241227200230,258522748404,253618246641,254620187304,281800917193,286765766820,310153855703,317688400354,336899932795,392963262344,422170566883,440779902286,460769358090,475705205061,499635929816,520808749422,521974519553,559970892890,595921917085,678760110082,711697198173,708659466230,804525194568,860221984436,923233068448,888171856257,922724699725,1103400932964,1123863285132,1196792694098,1452839779145]
dates = ['2013/5/26','2013/6/5','2013/6/17','2013/6/29','2013/7/11','2013/7/23','2013/8/3','2013/8/14','2013/8/24','2013/9/4','2013/9/15','2013/9/25','2013/10/6','2013/10/16','2013/10/26','2013/11/6','2013/11/17','2013/11/30','2013/12/10','2013/12/21','2014/1/2','2014/1/13','2014/1/25','2014/2/5','2014/2/17','2014/2/28','2014/3/13','2014/3/25','2014/4/5','2014/4/18','2014/4/30','2014/5/12','2014/5/24','2014/6/6','2014/6/18','2014/6/29','2014/7/13','2014/7/26','2014/8/8','2014/8/20','2014/9/1','2014/9/14','2014/9/26','2014/10/10','2014/10/23','2014/11/5','2014/11/19','2014/12/3','2014/12/17','2014/12/31','2015/1/13','2015/1/27','2015/2/9','2015/2/23','2015/3/9','2015/3/23','2015/4/5','2015/4/20','2015/5/4','2015/5/17','2015/6/1','2015/6/14','2015/6/28','2015/7/12','2015/7/25','2015/8/8','2015/8/22','2015/9/4','2015/9/18','2015/10/1','2015/10/15','2015/10/29','2015/11/11','2015/11/24','2015/12/7','2015/12/19','2015/12/31','2016/1/13','2016/1/26','2016/2/7','2016/2/19','2016/3/5','2016/3/18','2016/4/1','2016/4/14','2016/4/28','2016/5/11','2016/5/25','2016/6/8','2016/6/21','2016/7/5','2016/7/19','2016/8/3','2016/8/16','2016/8/29','2016/9/12','2016/9/25','2016/10/8','2016/10/23','2016/11/6','2016/11/18','2016/12/2','2016/12/15','2016/12/29','2017/1/11','2017/1/23','2017/2/5','2017/2/18','2017/3/4','2017/3/17','2017/3/31','2017/4/13','2017/4/27','2017/5/10','2017/5/23','2017/6/4','2017/6/18','2017/7/2','2017/7/14','2017/7/27','2017/8/9','2017/8/24','2017/9/6','2017/9/18','2017/10/2','2017/10/15','2017/10/27']
rates = [8.60,28.40,23.90,10.30,22.60,19.50,19.60,35.90,29.40,32.20,29.60,32.10,27.20,41.40,46.00,30.70,19.30,16.10,28.40,30.00,20.10,26.20,22.60,19.50,19.40,21.90,11.40,17.80,22.20,14.00,14.60,10.70,18.10,12.40,14.50,24.90,3.10,8.10,5.30,20.90,15.00,8.80,16.20,1.00,2.80,10.10,1.80,-0.70,-1.40,3.00,8.20,-6.10,7.70,5.00,1.60,-1.50,5.80,-3.70,0.10,2.40,-2.50,4.40,-0.60,3.40,2.40,0.80,3.00,5.00,4.20,2.50,0.10,2.30,5.80,10.40,8.80,18.10,11.20,9.10,5.90,20.10,13.40,-3.10,4.50,0.80,7.10,0.00,8.70,2.60,-1.60,6.80,1.90,0.00,-5.40,7.70,1.60,2.30,6.80,7.20,-1.90,0.40,10.70,1.80,8.20,2.40,6.00,16.60,7.40,4.40,4.50,3.20,5.00,4.20,0.20,7.30,6.40,13.90,4.90,-0.40,13.50,6.90,7.30,-3.80,3.90,19.60,1.90,6.50,21.40]
prices = [858,795.3,662.31,600.666,619.872,571.692,643.8299999999999,655.7099999999999,741.18,778.8,831.4019999999999,821.6999999999999,813.12,955.0199999999999,1208.328,1684.254,3148.2,7562.9400000000005,6098.4,3908.9819999999995,5015.934,5372.4,5301.581999999999,5293.331999999999,4273.5,3733.3362,4263.599999999999,3864.9594389999997,2970.79926,3187.7999999999997,2931.06,2894.1,3428.7,4331.579999999999,4023.0959999999995,3933.6,4100.25,3916.968,3894,3167.2079999999996,3174.6,3088.8,2673,2369.4,2362.8,2257.2,2475,2494.8,2098.8,2092.2,1366.2,1788.6,1452,1564.2,1894.2,1755.6,1676.4,1485,1557.6,1564.2,1465.2,1557.6,1643.4,1940.4,1894.2,1782,1491.6,1498.2,1544.4,1577.4,1683,2046,2336.4,2118.6,2758.8,3029.4,2824.8,2838,2554.2,2461.8,2765.4,2778.6,2765.4,2758.8,2798.4,2970,2970,2937,3795,4395.6,4448.465999999999,4444.242,3935.052,3745.17,3797.7719999999995,4021.512,3979.7999999999997,4091.274,4350.588,4735.3679999999995,4962.804,5088.599999999999,5161.53,6461.73,5560.17,6095.562,6757.74,7025.7,8448.659999999998,7566.24,6895.679999999999,7960.92,9315.24,11689.92,14296.259999999998,16421.46,16915.8,15714.599999999999,15228.84,17002.26,21858.54,27605.819999999996,29937.6,26039.64,29008.319999999996,35970,38468.1]

option = {
    title: {
        text: 'btc'
    },
    tooltip: {
        trigger: 'axis'
    },
    legend: {
        data:['算力','价格']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    toolbox: {
        feature: {
            saveAsImage: {}
        }
    },
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: dates
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            name:'算力',
            type:'line',
            stack: '总量',
            data:diff
        },
        {
            name:'价格',
            type:'line',
            stack: '总量',
            data:prices
        }
    ]
};

    
截图如下