Hello All,
In one of my Charts, i'm using PieChart to show data for Spend Analytics in all the Financial Years available(say: 2008, 2009, 2010 as Segments of PieChart). On mouseover of any year segment of PieChart, the ToolTip should show a Series Chart (LineGraph) with data corresponding to Year of PieChart Segment. The code I used is as below:
private void ChartItemToolTipOpening(ItemToolTip2D tooltip, ItemToolTipEventArgs args) |
{ |
RadChart3.DefaultView.ChartLegend.Visibility = Visibility.Collapsed; |
intYear = int.Parse(args.DataPoint.Label); |
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri("http://localhost:1251/DataSource1.aspx?source=two&year=" + args.DataPoint.Label)); |
request.BeginGetResponse(new AsyncCallback(ReadCallbackOS_Quarterly), request); |
tooltip.Content = quarterChart; |
} |
My issues is that, for the 1st Mouseover i'm unable to get correct details of the DataPoint, on which the Mouseover is done.
Please help me ASAP, as it is an urgent bug we need to fix....
Thanks in Advance.
Thanks,
Anil Teja