Set 3D chart group padding
Description
The following code shows how to set 3D chart group padding.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
$(function () {<!--from w w w . j a v a 2 s. c om-->
$('#container').highcharts({
chart: {
type: 'column',
margin: [100, 50, 60, 50],
options3d: {
enabled: true,
alpha: 15,
beta: 15,
depth: 250,
viewDistance: 5,
frame: {
bottom: {
size: 1,
color: '#EEE'
}
}
}
},
plotOptions: {
column: {
grouping: false,
depth: 50,
groupZPadding: 50
}
},
series: [{
data: [2, 3, null, 4, 0, 5]
}, {
data: [4, null, 1, 2, 1, 3]
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-3d.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>