Sadikhasan
Sadikhasan

Reputation: 18600

Highchart Display Marker on Top Position

I am trying to display marker on top position of area spline chart. But marker is not connected with chart line and move away. when Chart line stopped then it connected with marker.

I want marker connected with graph line.

Demo : http://jsfiddle.net/8aevhxp2/1/

Upvotes: 0

Views: 206

Answers (1)

ppotaczek
ppotaczek

Reputation: 39099

You need to disable the animation of point update:

series.data[series.data.length - 1].update({
    marker: {
        enabled: true
    }
}, true, false)

Live demo: http://jsfiddle.net/BlackLabel/5nm6y01q/

API Reference: https://api.highcharts.com/class-reference/Highcharts.Point#update

Upvotes: 1

Related Questions