Nunwood VOC CSAT Breakdown Column Chart
author(s):
Torstein Hønsi
by Danielle Parkinson
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column',
backgroundColor: '#ffffff',
style: {
fontFamily: 'Open Sans',
color: '#202020'
},
width: 600,
height:280
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
title: {
text: ' '
},
subtitle: {
text: ' '
},
xAxis: {
categories: [' ',' ',' ',' ',' ', ' '],
crosshair: true,
labels: {
style: {
color: '#202020',
fontSize: '13px'
}
},
tickLength: 0
},
yAxis: {
min: 0,
title: {
text: ' '
},
gridLineColor: '#999',
labels: {
style: {
color: '#202020',
fontSize: '13px'
}
}
},
tooltip: {
headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
'<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
footerFormat: '</table>',
shared: true,
useHTML: true
},
plotOptions: {
column: {
pointPadding: 0.1,
groupPadding: 0.1,
borderWidth: 0
},
series: {
dataLabels: {
enabled: false,
y: 25,
style: {
color: '#202020',
fontSize: '14px',
fontWeight: 'normal',
textOutline: false
}
}
}
},
legend: {
enabled: true,
itemStyle: {
color: '#202020',
fontSize: '14px',
fontWeight: 'normal'
}
},
series: [{
name: 'Toyota',
color: '#e1192c',
data: [7.92,...