Highcharts Highstock enabledThreshold feature not working

孤者浪人 提交于 2019-12-23 03:13:08

问题


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


回答1:


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

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


来源:https://stackoverflow.com/questions/51177157/highcharts-highstock-enabledthreshold-feature-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!