PDA

View Full Version : How to add hyperlink to each part in pie chart



nagasubbareddy
6 Jul 2015, 9:23 PM
Hi All,

I have implemented a pie chart using extjs 3.4. But i am not able to add the hyper link for each part in that pie chart.

Below is my code

new Ext.Panel({
width: 400,
height: 400,
title: 'Pie Chart with Legend - Favorite Season',
renderTo: 'container',
items: {
store: store,
xtype: 'piechart',
dataField: 'total',
categoryField: 'season',
extraStyle:
{
legend:
{
display: 'bottom',
padding: 5,
font:
{
family: 'Tahoma',
size: 13
}
}
}
}
});

Please help on above code where and what piece of code i have add .Please help on this.

Thanks,
Nagasubba Reddy.

Gary Schlosberg
7 Jul 2015, 8:38 AM
Are you looking to have the pie wedges be clickable, or to have hyperlinks within the pie wedges which are clicked?