highslide-software/highcharts.com — pull request #626 by mmeisel (2011-12-08 19:45:19+00:00)
Title: Don't draw markers with radius 0

I have a large chart (thousands of points) where I only want a marker on a few of the points. In order to accomplish this, I need to enable markers for the whole series and set the default radius to zero. Then, I set a non-zero radius on the few points where I want a marker. The problem is, highcharts "draws" all of the zero-radius markers by creating thousands of zero-radius circle objects in the svg, which are invisible but slow down rendering significantly. I've attached a tiny patch that simply doesn't draw markers when their radius is zero.