User (Legacy) Posted May 22, 2003 Report Share Posted May 22, 2003 I must be missing something - this can't be this hard. In the DataChangedByUser event, I've got a Series and a Point. I want to "read" the underlying X and Y value for that point (since my X values are date/times, I want to basically take that Series and Point nValue and turn it into "12/15/2003 9:00am" and "65.00", which is the X and Y coordinates of what the Point changed by the user was changed to). How do I do that??? I was hoping for something like Chart.Series(nSeries).Point(nPoint).X.Value = "12/15/2003 9:00am" and Chart.Series(nSeries).Point(nPoint).Y.Value = "65.00", but I don't see anything even close to it. --TG Link to comment Share on other sites More sharing options...
Software FX Posted May 22, 2003 Report Share Posted May 22, 2003 To get the Y Value double d = chart1.Value[nSeries,nPoint]; To get the X Value (ChartFX stores dates as doubles) double d = chart1.XValue[nSeries,nPoint]; DateTime dt = DateTime.FromOADate(d); -- Regards, JC Software FX Support "TG" <timg@pgas.com> wrote in message news:1if6wtIIDHA.1932@webserver1.softwarefx.com... > I must be missing something - this can't be this hard. > > In the DataChangedByUser event, I've got a Series and a Point. I want to > "read" the underlying X and Y value for that point (since my X values are > date/times, I want to basically take that Series and Point nValue and turn > it into "12/15/2003 9:00am" and "65.00", which is the X and Y coordinates of > what the Point changed by the user was changed to). > > How do I do that??? I was hoping for something like > Chart.Series(nSeries).Point(nPoint).X.Value = "12/15/2003 9:00am" and > Chart.Series(nSeries).Point(nPoint).Y.Value = "65.00", but I don't see > anything even close to it. > > --TG > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.