Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need to show the details of the pie chart (region)in pop up
but i didnt get a click event on pie chart
please help me
Posted
Comments
[no name] 5-Aug-13 6:58am    
Post your code that you have tried so far.

Hi,

Here you have not difined, which kind of chart you are using. It seems like you are using ms chart. Right?, then see below.


// in aspx page

<asp:chart id="PieChart" runat="server" OnClick="PieChart_Click">
...



//On code behind file
C#
protected  void   PieChart_Click(object sender, ImageMapEventArgs e)
{
  //your code to open popup
}



hope it helps
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900