title: Highcharts: limit number of markers
body: <p>I'm using Highcharts to show a data series with quite a large number of points in a fairly small space, <a href="http://jsfiddle.net/jhG8j/6/" rel="nofollow">here's a demo</a>. When a datapoint marker is shown on every point the graph is very cluttered and difficult to read. You can remove the markers completely by changing</p>
  
  <pre><code>    plotOptions: {
          line: {
              marker: {
                  enabled: true
              }  
          }
      }
  </code></pre>
  
  <p>to</p>
  
  <pre><code>    plotOptions: {
          line: {
              marker: {
                  enabled: false
              }  
          }
      }
  </code></pre>
  
  <p>But I'd like to do something in between these 2 extremes. Is there a way to specify a maximum number of markers that should be displayed, e.g. 20. I don't particularly care which 20 points are marked, but obviously the marked points should be chosen such that the markers are evenly spaced.</p>