blakshmi
Posts: 3
Joined: Mon Jun 05, 2023 2:21 pm

The gap between the color and outline is irregular sometimes in scatter chart

Hi, I would like to know if is it possible to add exact gap between the color and the outline(exact gap on all sides like top, bottom, left, right) on selected point in scatter chart ?



currently I see it is possible to use outline-Offset property on selected state which is adding irregular gap between the color and outline sometimes, could you please help on what can be used to get the exact gap between the color and the outline on selected point.


Thanks in advance.
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: The gap between the color and outline is irregular sometimes in scatter chart

Welcome to our forum and thanks for contacting us with your question!

To style your chart very precisely, it's always best to use styledMode. If you want to style a selected point, do it on .highcharts-point-select class. I prepared a demo where I used css filter to style the selected point, see:

Demo: https://jsfiddle.net/BlackLabel/exkro8d9/

Let me know if that was what you were looking for!
Regards
Jakub

Return to “Highcharts Usage”