kaan
Posts: 2
Joined: Wed May 18, 2022 2:50 pm

Highlight specific Points

Hello there,
i've only been using highcharts for a short time and i have a problem where i can't get ahead. I have a data set of up to 1000 values. I want to highlight 3 values which are already known. In which form is first no matter. However, I do not know how I can control some specific points.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Highlight specific Points

Hello,

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

You can use point.update() method in chart.events.load() callback function to achieve this.

Demo: https://jsfiddle.net/BlackLabel/oyvsnet3/
API: https://api.highcharts.com/class-refere ... int#update

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
kaan
Posts: 2
Joined: Wed May 18, 2022 2:50 pm

Re: Highlight specific Points

Hello,
thank you for your answer,
the problem is, I have too much data, so the markers are only displayed when I hover over them with the mouse. Also with your suggestion, if I Reinsetze there enough values and the markers are not displayed fall of course also the marked values away
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Highlight specific Points

Hi,

You can force to display markers for given points when you have a lot of data.

Code: Select all

point.update({
	color: 'red',
	marker: {
		enabled: true,
	}
});

Demo: https://jsfiddle.net/BlackLabel/qbxv3d5z/
API: https://api.highcharts.com/highcharts/s ... er.enabled

Feel free to ask any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”