Create 3D column range chart
Description
The following code shows how to create 3D column range chart.
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 () {<!-- w ww. ja v a 2 s . c o m-->
$('#container').highcharts({
chart: {
type: 'columnrange',
margin: 75,
options3d: {
enabled: true,
alpha: 15,
beta: 15,
depth: 50
}
},
yAxis: {
title: {
text: 'Temperature ( ?C )'
}
},
plotOptions: {
columnrange: {
depth: 25
}
},
series: [{
name: 'Temperatures',
data: [
[-9.7, 9.4],
[-3.7, 6.5],
[-3.5, 3.4],
[-1.4, 13.9],
[1.0, 22.6],
[2.9, 29.5],
[9.2, 33.7],
[7.1, 26.5],
[4.4, 13.0],
[-3.1, 11.4],
[-5.2, 13.4],
[-13.5, 9.8]
]
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/highcharts-3d.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>