How to bring the selected ball forward (z-index major) in Highcharts?

Asked

Viewed 73 times

0

In the series, I have the event legendItemClick, that when I click on the caption he arrow the ball as Hover. I wonder how I do to bring the same forward?

legendItemClick: function () {                           
                        resetaState();
                        //this.zIndex = 1000;
                        //this.toFront();
                        this.redraw();
                        this.data[0].setState('hover');

                       return false;
                    }
                }

I tested, setting the z-index and using the toFront method, but was unsuccessful.

1 answer

1

Try to use the z-index with a higher value, ex: 999999 and remember that z-index only works with position informed, ex: position:relative; z-index:999999;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.