T
T
Triglav772019-09-13 11:39:40
Highcharts
Triglav77, 2019-09-13 11:39:40

How to colorize one column in navigator element?

There is a graph on highcharts how you can colorize one of the columns in the navigator element. For example, paint it red

navigator: {
                        height: 75,
                        series: {
                            type: 'column',
              zones: zones,
              fillColor: {
                                    linearGradient: {
                                        x1: 0,
                                        y1: 0,
                                        x2: 0,
                                        y2: 1
                                    },
                                    stops: [
                                        [0, Highcharts.getOptions().zones],
                                        [1, Highcharts.Color(Highcharts.getOptions().zones).setOpacity(0.5).get('rgba')]
                                    ]
                                }
                        }
                    },

This is just a gradient.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question