Click here to Skip to main content
15,897,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm unable to fire an event in the pie chat for the individual sections(slices) of the pie chart.

I have mentioned the chart event code ...


override protected void OnInit(EventArgs e)
{
if (!Page.IsPostBack)
this.Chart1.Click += new ImageMapEventHandler(Chart1_Click);
base.OnInit(e);
InitializeComponent();
base.OnInit(e);
}

protected void Chart1_Click(object sender, ImageMapEventArgs e)
{
//Code
}
Posted

1 solution

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