سؤال

I have a pie chart located:

http://jsfiddle.net/PcX4b/5/

I am setting the series to look something like:

 series: [{
            type: 'pie',
            name: name,
            size: '100%',
            innerSize: '25%',
            data: innerData,
             shadow: true,
            dataLabels: {
                enabled: false
            }
        }, {
            type: 'pie',
            name: "whiteBorder",
            size: '100%',
            innerSize: '93%',
            data: outerData,
                            shadow: false,
            dataLabels: {
                enabled: false
            }
        }]

Right now the shadow for the pie chart is displaying on the outside of the pie (desired) and the donut hole (not desired). Is it possible to have it display only on the outside with out putting it on the white border series.

هل كانت مفيدة؟

المحلول

Just remove/set to 0 innerSize for a first series, see: http://jsfiddle.net/PcX4b/8/

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top