漏斗图

描述:当前是关于Echarts图表中的 漏斗图 示例。
 
            option = {
    // backgroundColor: "#1b2735",
    xAxis: {
        show: false,
        type: 'value'
    },
    yAxis: {
        show: false,
        type: 'value'
    },
    "legend": {
        "top": "bottom",
        "left": "center",
        "textStyle": {
            "color": "#000"
        },
        "itemHeight": 10,
        "data": ['原始库', '业务库', '资源库', '主题库', '知识库']
    },
    "grid": {
        "top": 24,
        "left": "2%",
        "right": 20,
        "bottom": 30,
        "containLabel": true,
        "borderWidth": 0.5
    },
    series: [

        {
            top: 0,
            name: '',
            type: 'funnel',
            left: '10%',
            width: '80%',
            // gap: 10,  // 间隔
            minSize: '40%',
            maxSize: '100%',
            label: {
                normal: {
                    show: true,
                    color: '#fff',
                    position: 'inside',
                    formatter: '{b}\n{c}',
                    // lineStyle: {
                    //     width: 2,
                    //     align: 'center'
                    // }

                }
            },
            data: [
                {
                    value: 952358, name: '原始库',
                    itemStyle: {
                        normal: {
                            color: '#2a70ff'
                        }
                    },
                },
                {
                    value: 394841, name: '业务库',
                    itemStyle: {
                        normal: {
                            color: '#e8007f'
                        }
                    },

                },
                {
                    value: 63497, name: '资源库',
                    itemStyle: {
                        normal: {
                            color: '#f7b27a'
                        }
                    },

                },
                {
                    value: 52582, name: '主题库',
                    itemStyle: {
                        normal: {
                            color: '#cccccc'
                        }
                    },

                },
                {
                    value: 52582, name: '知识库',
                    itemStyle: {
                        normal: {
                            color: '#fdae00'
                        }
                    },

                }
            ]
        },

    ]
};