score:5

Accepted answer

This is a much simpler solution than anything I'm seeing for answers so far:

 xAxis: {
            categories:[]
        }

.

series: [{
            data: [{name:'Test 1',y:20,color:'red'},
                   {name:'Test 2',y:20,color:'blue'},
                   {name:'Test 3',y:40,color:'green'}]
        }]

Example:

Although unless you have a really good reason for having each bar be a different color, it usually just adds unnecessary visual clutter and you're better off leaving them a single color.

score:0

Check this out

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'bar'
        },
        xAxis: {
            categories:['Test 1', 'Test 2', 'Test3']
        },
        plotOptions: {
            series: {
                dataLabels: {
                    enabled: true,
                }
                //colorByPoint: true
            },
             series: {
                colorByPoint: true
            }
        },
        legend: {
            layout: 'vertical',
            floating: true,
            backgroundColor: '#FFFFFF',
            align: 'right',
            verticalAlign: 'top',
            y: 60,
            x: -60
        },

        series: [{
            data: [40,20,20]
        }]
    });
});

http://jsfiddle.net/Jr79Y/36/

score:1

Try this:

xAxis: {
  categories: ['Test', 'Test', 'Test'],
  title: {
    text: null,
  }
},

And in series part:

series: [{
     name: 'Values',
     data: [20,20,40]
},]

Reference.

EDITED:

You are using three group so you need to modify your data format. If you want the different color then try this:

series: [{
         name: 'Values',
         data: [20,0,0]
    },
{
         name: 'Values',
         data: [0,20,0]
    },
{
         name: 'Values',
         data: [0,0,40]
    },]

score:1

http://jsfiddle.net/Jr79Y/35/

xAxis: {
            categories: ['Test1', 'Test2', 'Test3']
        }

For the series, this is quite dirty but it works:

series: [{
            name: 'Test1',
            data: [20, 0, 0]
        }, {
            name: 'Test2',
            data: [0, 20, 0]
        }, {
            name: 'Test3',
            data: [0, 0, 40]
        }

Related Query