문제

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?

도움이 되었습니까?

해결책

Add backgroundColor: 'transparent',

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

DEMO

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top