Change color in specific columns w/ multiple series

Viewed 20

I have two series each with its color and I want to be able to define a different color for both series in a specific column.

How can I display the first 3 columns in grey? https://jsfiddle.net/Kagebi/omcqrzsu/

Highcharts.chart('container', {
    chart: {
        type: 'column',
    },
    plotOptions: {
        column: {           
          grouping: false
        }
    },
    tooltip: {
        shared: true // true breaks series highliting on hover
    },

    xAxis: {
        categories: ['24-02', '25-02', '26-02', '27-02', '28-02', '29-02', '01-03', '02-03', '03-03', '04-03', '05-03']
    },
    series: [
        {
      name: 'Expected',
      data: [180, 140, 180, 140, 180, 140, 180, 140, 180, 140, 180],
      color: '#b2dbff',
      },

        {
      name: 'Current',
      data: [99, 197, 165, 80, 144, 80, 144, 80, 144, 80, 144],
      color: '#1d94fa'}
      ],
   events:{
        load: function() {
            var point = this.series[0].points[1];

            point.update({
                color: 'black'
            });
        }
},

    }
)
1 Answers
Related