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,
Source: stackoverflow.com
Related Query
- How to add different click events on each pie of a pie chart created by highcharts usin jquery
- how to add above each column a different pie chart
- How to add different series data for each categories in Stacked Column chart in Highcharts?
- HighCharts Pie Chart - Add text inside each slice
- In high chart how to add event for label click
- How do I make each row in a HTML table a pie chart in Highcharts?
- how to reset Highchart chart width in percentage on Button click
- How to add Legend in highchart compare stock chart
- Highcharts - how to export chart with different scale in one click
- Pie Chart for Data on Different Things with HighChart
- HighChart Pie Chart click on legend item to trigger drilldown
- Add new data to a Highchart pie chart dynamically
- Highchart data each row on gridview to display different data on button click open modal
- Highchart Pie Chart click on hover
- Highchart - How do I create the attached image gauge within a semicircle pie chart
- How to set color of each slice in pie chart in high charts library?
- How to add the "isSum" bar in Highchart Waterfall chart in R?
- how remove picture frame for Highchart chart pie
- How to make pie chart with data border radius in highchart
- Highchart How to set pie chart sliced distance gap wider to one another
- Highchart multiple axes - How can I add different starting coordinates?
- How to put multiple HighChart in a page having different series value in different chart
- How to add negative area or background for a specific bar or pie chart in highcharts?
- How to add table on click over each column in Highcharts Reactjs?
- Highchart how to create lollipop type chart with circle and line top/bottom at different positions
- How to add inline legends to line / area mixed chart in highchart
- How to add click event on django-chatit chart
- how to add color inside a 3d chart in highchart js
- How to add another same chart but with different data?
- how to make different label for different arrows in Gauge chart in highchart
More Query from same tag
- Customizing date in tooltip when datgrouping enabled
- colors for single series in highcharts
- Parse string to set of data in JavaScript(jQuery) to match series in HighCharts
- Highcharts Tooltip cropping
- Highcharts JS: How do I decrease the spacing between Y values?
- Issues in Highchart-treemap with drilldown data label color change
- Is it possible to show text on top of an Arearange chart
- Highcharts stocks - Scale candlesticks serie only
- Export image with phantom - Navigator or credits cannot be changed
- Where should I start learning Highcharts JS?
- Highcharts Multi-Panes and Scrollbar
- how can i change position of inputs in high charts high-stock?
- highcharts tooltip wrong date
- Highcharts - programmatically "flip" (reverse) Y Axis
- Highcharts 100% height of parent that have 50% height
- Highcharts - Dynamically change chart type with on radio buttons click
- HighCharts polygon label - zoom capable
- Big Tooltip over points - Highcharts
- Highcharts: Deselect all points within a series
- Getting Highcharts tooltip to return an angular directive?
- Highcharts Drawing a line with chart.renderer.path
- Change/Swap Highcharts Data
- How to add post loading events to a highchart graph using a csv file
- Highcharts gauge not shown
- Angualr2/4 -Unable to generate highchart
- Highcharts not displaying a line, but Jquery seems to be correct
- Highcharts 24 hour clock
- Highcharts not displaying column chart
- Highcharts - plotLines won't render
- how to add tooltip on hover over the stacked Labels in highcarts