3D Highchart EXample
https://dribbble.com/shots/1929448-Leaderboard-Wireframes/attachments/332152
by Jens Kühn
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-3d.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="height: 400px"></div>
CSS
#container {
height: 600px;
min-width: 310px;
max-width: 500px;
margin: 0 auto;
}
JavaScript
$(function () {
$('#container').highcharts({
chart: {
type: 'bar',
margin: 95,
options3d: {
enabled: true,
alpha: -70,
beta: 0,
depth:14,
viewDistance: 30
}
},
title: {
text: '3D chart with null values'
},
subtitle: {
text: 'Notice the difference between a 0 value and a null point'
},
plotOptions: {
bar: {
depth: 8,
dataLabels: {
enabled: false
}
}
},
xAxis: {
labels: {
enabled: false
},
categories: Highcharts.getOptions().lang.shortMonths
},
yAxis: {
gridLineWidth:0,
pointPadding: 2,
title: {
text: null
},
labels: {
enabled: false
},
plotLines:[{
value: 5,
color: 'red',
width: 1,
id: 'plot-line-1'
}]
},
series: [{
name: 'Sales',
data: [2, 3, null, 4, 0, 5, 1, 4, 6, 3],
pointRange: .5
}]
});
});