score:1

Accepted answer

the best solution in your case seems to be to use render event and change the color on the svg level. example:

    chart: {
        ...,
        events: {
            render: function() {
                this.series[0].points.foreach(function(point) {
                    if (point['hc-key'] == state) {
                        point.graphic.attr({
                            fill: 'red'
                        });
                    }
                });
            }
        }
    }

live demo: https://jsfiddle.net/blacklabel/x69plcyo/

api reference:

https://api.highcharts.com/highcharts/chart.events.render

https://api.highcharts.com/class-reference/highcharts.svgelement#attr


Related Query

More Query from same tag