{
    "color": [
        "#80FFA5",
        "#00DDFF",
        "#37A2FF",
        "#FF0087",
        "#FFBF00"
    ],
    "title": {
      text: "Gradient Stacked Area Chart"
    },
    tooltip: {
      trigger: "axis",
      axisPointer: {
        type: "cross",
        label: {
          backgroundColor: "#6a7985"
            }
        }
    },
    legend: {
      data: [
            "Line 1"
        ]
    },
    toolbox: {
      feature: {
        saveAsImage: {}
        }
    },
    grid: {
      left: "3%",
      right: "4%",
      bottom: "3%",
      containLabel: true
    },
    xAxis: [
        {
        type: "category",
        boundaryGap: false,
        data: [
                "Mon",
                "Tue",
                "Wed",
                "Thu",
                "Fri",
                "Sat",
                "Sun"
            ]
        }
    ],
    yAxis: [
        {
        type: "value"
        }
    ],
    series: [
        {
        name: "Line 1",
        type: "line",
        stack: "Total",
        smooth: false,
        lineStyle: {
          width: 2
            },
        showSymbol: false,
        areaStyle: {
          opacity: 0.8,
          color: new echarts.graphic.LinearGradient(1,
                0,
                1,
                1,
                [
                    {
              offset: 0,
              color: "#E1F8F1"
                    },
                    {
              offset: 1,
              color: "#FEFEFE"
                    }
                ])
            },
        emphasis: {
                "focus": "series"
            },
        data: [
                140,
                232,
                101,
                264,
                90,
                340,
                250
            ]
        }
    ]
};