Skip to content
Advertisement

How can I hide points on chart?

I want to hide some points on my chart. I just want to show some points that it is starting or ending. Please check the picture. I want like P1 in the picture How can i hide them ? Example

JavaScript

Advertisement

Answer

Replace the following definition in your dataset…

JavaScript

…with the following code:

JavaScript

If you also don’t want to see the missing points on hover, do the same with pointHoverRadius: '6'.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement