Pregunta

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?

¿Fue útil?

Solución

Add backgroundColor: 'transparent',

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

DEMO

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top