I have a Highcharts bubble chart where many of the points are going to have the same, or very similar values. Currently only the top point's data label is visible. I have functionality that allows the points to be highlighted (using the select()
method). When a point is selected I am also moving it to the top by using point.graphic.toFront()
, but I also want the selected point's data label to be moved to the top too. I can't figure out how to do that or if it's possible.
Is there a way to move an individual point's data label to the front/top so that it can be seen?
I know there is a setting to allow data labels to overlap, but that's not necessarily what I want to do. I would like to keep the current functionality where only the top data label is shown for overlapping points, but I would like to be able to programmatically control what point/data label are on top. I've tried to adjust the point's data label's z-index, but that didn't seem to do anything.