Question

I have got problem. Around my 3D Pie Highchart, there is white space, but i have got Background, set by HTML, and i want to see it. So please how do I remove it?

Was it helpful?

Solution

Add backgroundColor: 'transparent',

$('#container').highcharts({
    chart: {
        type: 'pie',
        options3d: {
            enabled: true,
            alpha: 45,
            beta: 0
        },
        backgroundColor: 'transparent',
    },
...

DEMO

OTHER TIPS

set margin to 0

margin: [0,0,0,0]

here is a jsfiddle link for that

I hope this is the space you are looking to remove.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top