score:1

Accepted answer

you can enable all markers, and prepare own function which recognise if markers has next element or not. then show/hide appropriate svg elements.

http://jsfiddle.net/hvcfd/3/

 var data = chart.series[0].data,
        len = data.length,
        i = 0;
    for(i;i<len;i++) {

        if((typeof(data[i+1]) != "undefined") && (data[i+1].y!=null) && (data[i-1].y!=null) && (data[i].y!=null))
            data[i].graphic.destroy();
    }

score:1

yes, you can set the marker properties per point. not that you have to allow markers globally in the chart. see example here.

sample code:

data: [{
                y: 29.9,
                marker: {
                    linewidth: 2
                }
            }, {
                y: null,
                marker: {
                    enabled: false
                }
            },....

score:3

first you can disable all markers by the following code:

plotoptions: {
    line: {
        marker: {
            enabled: false
        }
    }
}

then you just have to enable the markers you want(jan and mar).

series: [{
    data: [
    // january
    {
        y: 29.9,
        marker: {
            enabled: true
        }
    },

    null,

    // march
    {
        y: 106.4,
        marker: {
            enabled: true
        }
    },

    ...

}]

demo


Related Query

More Query from same tag