options: {
chart: {
type: 'bar',
height: '',
width: 930,
style: {
fontFamily: 'Arial'
}
}
},
title: {
text: ' '
},
subtitle: {
text: ' '
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'top',
itemMarginBottom: 7,
itemWidth: 100,
},
xAxis: {
// categories: [],
type: 'category',
tickLength: 0,
lineColor: '#ccc',
labels: {
style: {
width: '200px',
whiteSpace: 'normal', //set to normal
color: '#333',
fontSize: '12px'
},
step: 1,
formatter: function () { //use formatter
return '<div>' + this.value + '</div>';
}
},
plotBands: []
},
yAxis: {
gridLineWidth: 0,
tickInterval: '',
min: 0,
endOnTick: true,
tickAmount: 6,
tickPositioner: function () {
var sl = 1;
var positions = [0],
interval = 20 * sl;
for (var i = 0; i < 5; i++) {
positions.push(interval);
interval = interval + 20;
sl++;
}
return positions;
},
plotBands: [{
from: 0,
to: 100,
thickness: '2%',
color: '#F5F5F6'
}],
title: {
text: '',
},
labels: {
overflow: 'justify'
}
},