var columnProto = Highcharts.seriesTypes.column.prototype;
columnProto.axisTypes = ['xAxis', 'yAxis', 'colorAxis'];
columnProto.optionalAxis = 'colorAxis';
columnProto.colorKey = 'y';
Highcharts.wrap(columnProto, 'translate', function(proceed) {
proceed.apply(this, Array.prototype.slice.call(arguments, 1));
Highcharts.seriesTypes.heatmap.prototype.translateColors.call(this);
});
Highcharts.chart('container', {
series: [{
type: 'bar',
data: [1, 2, 3, 4, 5, 6, 7, 8, 9]
}],
colorAxis: {
minColor: '#c6e48b',
maxColor: '#196127',
min: 1,
max: 9
}
});