alez
alez

Reputation: 35

Highcharts - colorByPoint does not work

I'm trying to get a Bar Chart with different bar color, I'm using the property colorByPoint, so (here my complete example: http://jsfiddle.net/n6GRZ/7/):

plotOptions: {
    series: {
        colorByPoint: true
    }
},

but this does not work as in Highcharts example in this:

http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/column-colorbypoint-true/

Upvotes: 1

Views: 1792

Answers (1)

AliRıza Adıyahşi
AliRıza Adıyahşi

Reputation: 15866

You set plotOptions two times, remove additional one. this line:

//plotOptions:{bar:{dataLabels:{enabled: true}}}, 

Modified DEMO

Upvotes: 0

Related Questions