This question is locked. New answers and comments are not allowed.
According to my requirement, whenever the user clicks on particular graph series or hovers, tool tip should display x-position and y- position at that point.
Code written by me:
Code written by me:
foreach
(ChartSeries collection in chart.Series){
foreach (ChartSeriesItem item in collection.Items
{
item.ActiveRegion.Click += new RegionClickEventHandler(ActiveRegion_Click);
}
}
protected void ActiveRegion_Click(object sender)
{
ChartSeriesItem item = (ChartSeriesItem)sender;
item.ActiveRegion.Tooltip = item.Parent.Name;
//MessageBox.Show(item.Parent.Name);
}
error:Error 212 No overload for 'ActiveRegion_Click' matches delegate 'Telerik.Charting.RegionClickEventHandler'