va_acharya Posted July 15, 2010 Report Share Posted July 15, 2010 I have trapped ctrlChart_GetTip event to display custom tooltip on graph points. I can get the Y cordinate value using ctrlChart.Data[e.Series, e.Point] function. Is there any way to get the X value for the given series and point. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted July 30, 2010 Report Share Posted July 30, 2010 Hi, Take a look at the following sample: private void chart1_GetTip(object sender, GetTipEventArgs e){ if (e.HitType == HitType.Point) { double x = chart1.Data.X[0, e.Point]; MessageBox.Show(x.ToString()); }}Hope this helps. Regards, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.