How to use echarts to make such a chart.

clipboard.png
for more information!

Mar.15,2021

instance

option = {
    xAxis: {
        type: 'category',
        data: ['6', '7', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [{
        data: [820, 932, 901, 934, 1290, 1330, 1320],
        type: 'line',
        smooth: true,
        label: {
                normal: {
                    show: true,
                    position: 'top'
                }
            },
        areaStyle: {normal: {}},
    }]
};

specific style to modify the configuration item


is similar to the area map, http://echarts.baidu.com/echa.


has a template, which is super simple. You can choose it from the official website

.
Menu