datalabel inside column-2
by tin nguyen
HTML
<script src="http://highcharts.com/js/testing.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
JavaScript
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
defaultSeriesType: 'column'
},
xAxis: {
categories: ['Product A', 'Product B', 'Product C', 'Product D']
},
plotOptions: {
series: {
dataLabels: {
y:12,
enabled: true,
color: 'black'
}
}
},
series: [
{
data: [44.0, -176.0, 150.6, 248.5]}]
});