It is currently Thu Nov 15, 2018 9:51 pm Advanced search

Line chart - do not display the line

Technical support, bug reports and more.

Line chart - do not display the line

Postby kgupta » Thu Nov 08, 2018 9:49 pm

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?
kgupta
 
Posts: 1
Joined: Thu Nov 08, 2018 9:11 pm

Re: Line chart - do not display the line

Postby rafalS » Fri Nov 09, 2018 12:19 am

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/series.line.states.hover.lineWidthPlus

Best regards!
Rafal Sebestjanski,
Highcharts Developer
rafalS
 
Posts: 572
Joined: Thu Jun 14, 2018 1:40 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Bing [Bot] and 4 guests