John Smith
John Smith

Reputation: 1105

Is there any method to select only one series marker state in highcharts?

As given in the example we can select more than one point by holding CNTL key! Is there any way by which user is allowed only to select one point at a time?

                marker: {
                states: {
                    select: {
                        lineWidth: 3
                    }
                }
            }

Upvotes: 0

Views: 442

Answers (1)

Mark
Mark

Reputation: 108512

You can code of the behavior yourself instead of using allowPointSelect:

      series: {
            cursor: 'pointer',
            point: {
                events: {
                    click: function(event) {
                        this.select();
                    }
                }
            }
        }

Fiddle here.

Upvotes: 2

Related Questions