0

I am trying to turn off the markers on a line chart using highcharts-ng.

I've checked the highcharts API and I believe I need to pass in the option:

plotOptions: {
    line: {
        marker: {
            enabled: false
        }
    }
}

However, I tried this in highcharts-ng and it does not appear to be working and I am pretty stumped. Here is a slightly modified stock example where I pass in this option to no effect: http://jsfiddle.net/BnnVN/

Pablojim
  • 8,542
  • 8
  • 45
  • 69
user1027169
  • 2,627
  • 3
  • 27
  • 50

2 Answers2

0

Rather workaround than solution: http://jsfiddle.net/BnnVN/2/

Instead of using plotOptions, disable markers for specific series.

    series: [{
        data: [10, 15, 12, 8, 7, 1, 1, 19, 15, 10],
        marker: {
            enabled: false
        }
    }],
Paweł Fus
  • 44,795
  • 3
  • 61
  • 77
0

You need to nest the plotOptions inside the options object.

Example: http://jsfiddle.net/Cp73s/4348/

herman
  • 11,740
  • 5
  • 47
  • 58