kgupta
Posts: 3
Joined: Thu Nov 08, 2018 7:11 pm

Line chart - do not display the line

This requirement may sound bit wierd but unfortunately It is the requirement which I have to fulfill. In Highcharts Line chart, can we hide the line and just display the points? Something like the following http://jsfiddle.net/8bdovxn4/

Using the above fiddler link, I have set the line width to 0. But on hover It displays the line. Is It possible to hide the line on hover too?
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Line chart - do not display the line

Hi, kgupta!

You're looking for a series.states.hover.lineWidthPlus: 0 property.

jsFiddle: http://jsfiddle.net/eujfn1wa/

API Reference: https://api.highcharts.com/highcharts/s ... eWidthPlus

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Usage”