I'm trying to add stack labels (http://api.highcharts.com/highcharts#yAxis.stackLabels) to my chart
http://jsfiddle.net/Hjdnw/970/
According to the docs, https://github.com/pablojim/highcharts-ng all options should go into options object.
$scope.chartConfig = {
options: {
chart: {
type: 'bar'
},
yAxis: {
stackLabels: {
style: {
color: 'black'
},
enabled: true
}
},
},
series: [{
data: [10, 15, 12, 8, 7]
}],
title: {
text: 'Hello'
},
loading: false
}
What am I doing wrong?