highchart 堆叠3d柱状图

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'column',
            options3d: {
                enabled: true,
                alpha: 20,
                beta: 20,
                viewDistance: 25,
                depth: 40
            },
            marginTop: 20,
            marginRight: 5,
            marginLeft:40
        },
        credits:{  
            enabled:false  //去掉官网的链接
        },exporting:{  
        	enabled:false //用来设置是否显示‘打印’,'导出'等功能按钮,不设置时默认为显示  
        }, 
        title: {
            text: '处方点评数量统计'
        },
        xAxis: {
            categories: ['处方总数', '抗菌药专项', '异动药品专项', '肿瘤药专项', '毒麻精放药专项']
        },
        yAxis: {
            allowDecimals: false,
            min: 0,
            title: {
                text: '数量'
            }
        },
        tooltip: {
            headerFormat: '{point.key}
', pointFormat: '\u25CF {series.name}: {point.y} / {point.stackTotal}' }, plotOptions: { column: { stacking: 'normal', depth: 40 } }, series: [{ name: '门诊处方总数', data: [5000, 3500, 3000, 2000, 1000], stack: 'male' }, { name: '门诊处方点评数', data: [3500, 2000, 2500, 1500, 500], stack: 'male' }, { name: '处方点评合理数', data: [3000, 2500, 2000, 1500, 500], stack: 'male' }, { name: '住院病例总数', data: [1000, 800, 700, 500, 500], stack: 'female' },{ name: '住院病例总数', data: [500, 500, 400, 300, 200], stack: 'female' },{ name: '病例点评合理总数', data: [100, 100, 300, 100, 100], stack: 'female' }] }); });

你可能感兴趣的:(highchart 堆叠3d柱状图)