Click here to Skip to main content
16,016,570 members

Comments by Member 8488836 (Top 1 by date)

Member 8488836 1-May-12 20:34pm View    
Hi Nishitha,
Can you please be more clear about your question?
Where are you putting your datagrids?
I have one possible solution, according to my understanding.
try this:
private void MSChart1_GetToolTipText(object sender, ToolTipEventArgs e)
{
DataPoint dP = MSChart1.Series["Series1"].Points[(int)MSChart1.ChartAreas["ChartArea1"].AxisX.PixelPositionToValue(e.X)];

e.Text = "SelectedDatapointLabel = "+ MSChart1.Series["Series1"].Points[dP.XValue].AxisLabel +" SelectedDatapointValue = "+dP.YValues[0].ToString();

}

Try in your own way. This is my method. If I could understand your question, I could write here more clearly.

Note: The above function is an Event, given in MSChart (ToolTip Event). You can also use MouseMove Event.