HansElsen
HansElsen

Reputation: 1753

Highcharts Highstock enabledThreshold feature not working

I can't seem to make it so in Highstock's AreaSpline chart in ReactJS so that markers are only visible when there are less than x in the line. I checked several fiddles and Highcharts is working with the exact same configuration.

Not working:
https://jsfiddle.net/0qybw7jt/

Working:
https://jsfiddle.net/8uwvm1np/

The difference is found within the constructor chart vs stockChart

Upvotes: 1

Views: 430

Answers (1)

Edo
Edo

Reputation: 78

I had to explicitly set marker: enabled to undefined, see code:

plotOptions: {
        series: {
        marker: {
            enabled: undefined, 
            enabledThreshold: 1,
          radius: 4
        }
      }
    },

Upvotes: 1

Related Questions