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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cf9e-2c34d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cf9e-2c34d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?