SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html style="height: 100%">
    <head>
        <meta charset="utf-8">
    </head>
    <body style="height: 100%; margin: 0">
        <div id="container" style="height: 100%"></div>

        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.0.1/dist/echarts.min.js"></script>
        <!-- Uncomment this line if you want to dataTool extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.0.1/dist/extension/dataTool.min.js"></script>
        -->
        <!-- Uncomment this line if you want to use gl extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@2/dist/echarts-gl.min.js"></script>
        -->
        <!-- Uncomment this line if you want to echarts-stat extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@latest/dist/ecStat.min.js"></script>
        -->
        <!-- Uncomment this line if you want to use map
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.0.1/map/js/china.js"></script>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.0.1/map/js/world.js"></script>
        -->
        <!-- Uncomment these two lines if you want to use bmap extension
        <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=<Your Key Here>"></script>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.0.1/dist/extension/bmap.min.js"></script>
        -->

        <script type="text/javascript">
var dom = document.getElementById("container");
var myChart = echarts.init(dom);
var app = {};



var option = {

    tooltip: {

        trigger: 'axis',

        axisPointer: {            // 坐标轴指示器,坐标轴触发有效

            type: 'shadow'        // 默认为直线,可选为:'line' | 'shadow'

        }

    },

    legend: {

        data: ['上传简历数', '推荐用人部门数量', '用人部门通过数量','安排面试次数','发送Offer数量','录用人数']

    },

    grid: {

        left: '3%',

        right: '4%',

        bottom: '3%',

        containLabel: true

    },

    xAxis: [

        {

            type: 'category',

            data: ['招聘专员A', '招聘专员B', '招聘专员C', '招聘专员D', '招聘专员E', '招聘专员F', '招聘专员H']

        }

    ],

    yAxis: [

        {

            type: 'value'

        }

    ],

    series: [

        {

            name: '上传简历数',

            type: 'bar',

            stack: 'A',

            emphasis: {

                focus: 'series'

            },

            data: [320, 332, 301, 334, 390, 330, 320]

        },

        {

            name: '推荐用人部门数量',

            type: 'bar',

            stack: 'A',

            emphasis: {

                focus: 'series'

            },

            data: [120, 132, 101, 134, 90, 230, 210]

        },

        {

            name: '用人部门通过数量',

            type: 'bar',

            stack: 'A',

            emphasis: {

                focus: 'series'

            },

            data: [220, 182, 191, 234, 290, 330, 310]

        },

        {

            name: '安排面试次数',

            type: 'bar',

            stack: 'A',

            data: [862, 1018, 964, 1026, 1679, 1600, 1570],

            emphasis: {

                focus: 'series'

            }

        },

        {

            name: '发送Offer数量',

            type: 'bar',

            stack: 'A',

            emphasis: {

                focus: 'series'

            },

            data: [620, 732, 701, 734, 1090, 1130, 1120]

        },

        {

            name: '录用人数',

            type: 'bar',

            stack: 'A',

            emphasis: {

                focus: 'series'

            },

            data: [120, 132, 101, 134, 290, 230, 220]

        }

    ]

};





if (option && typeof option === 'object') {
    myChart.setOption(option);
}

        </script>
    </body>
</html>