score:3

you can do something like that:

plotoptions: { pie: { point: { events: { click: pieclick } } } }

...

function pieclick() {
    var sliceclicked = this.name;

    // do something
}

score:3

i just tried the following simple method which helped me to get the solution.

the plotoption can be like following,

plotoptions: {
    pie: {
        point: {
                            events: {
                                    click: function() {
                                            location.href = this.options.url;
                                        }
                                }

            }
    }
}

and in the series you can use something like this,

series: [{
            data: [{
               name: sample 1,
               y: 29.9,
               url: 'http://bing.com/search?q=foo'
            }, {
                name: sample 2,
                y: 71.5,
                url: 'http://bing.com/search?q=bar'
            }, {
                name: sample 2,
                y: 106.4,
                url: 'http://bing.com/search?q=foo+bar'
            }]        
        }]

view the example in the following link,

http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/series-point-events-click-url/


Related Query

More Query from same tag