我们可以在 highcharts 中制作嵌套圆环图吗?

can we make nested donut charts in highcharts?

我正在使用 highchart 库。我们可以在 hightcharts 中制作嵌套的 dount 图表吗?我可以制作圆环图。我想在圆环图中嵌套相同的东西。 换句话说,我制作了圆环图,我可以在圆环图中做同样的事情吗

这是我的代码

http://jsfiddle.net/oupmgvjy/2/

我正在从中寻求帮助 http://www.highcharts.com/demo

$(function () {
    Highcharts.chart('container', {
        chart: {
            plotBackgroundColor: null,
            plotBorderWidth: 0,
            plotShadow: false
        },
        title: {
            text: 'Browser<br>shares<br>2015',
            align: 'center',
            verticalAlign: 'middle',
            y: 40
        },
        tooltip: {
            pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
        },
        plotOptions: {
            pie: {
                dataLabels: {
                    enabled: true,
                    distance: -50,
                    style: {
                        fontWeight: 'bold',
                        color: 'white'
                    }
                },
                startAngle: 0,
                endAngle: 270,
                center: ['50%', '75%']
            }
        },
        series: [{
            type: 'pie',
            name: 'Election',
            innerSize: '85%',
            data: [
                ['a',   55],
                ['b',       65],
                 ['c',   65],
                   ['d',   132],

                {
                    name: 'Proprietary or Undetectable',
                    y: 0.2,
                    dataLabels: {
                        enabled: false
                    }
                }
            ]
        }]
    });
});

您必须更改 data 系列和 size 饼图

series: [{
            type: 'pie',
            name: 'Election',
            size: '100%',
            innerSize: '40%',
            data: [{name: "A", y: 20},
            {name: "B", y: 10},
            {name: "C", y: 15}
            ]
        }, {
            type: 'pie',
            name: 'Proprietary or Undetectable',
            innerSize: '70%',
            data: [{name: "A", y: 10},
            {name: "B", y: 15},
            {name: "C", y: 20}


            ]
        }]

JS Fiddle