Xmaker Posted May 24, 2007 Report Share Posted May 24, 2007 I'm developing S/W by ChartFX's Curve Line. I want to get x point like under attached Image. ** I must find x value contact of y value ( y == 0 ). But, ChartFX alredy known x value (x = 2.2) like attached Image. How to get or use x value ? It is possible? Thank you. Link to comment Share on other sites More sharing options...
Frank Posted May 24, 2007 Report Share Posted May 24, 2007 Sorry, I don't understand what X-Value you are talking about. Link to comment Share on other sites More sharing options...
Xmaker Posted May 24, 2007 Author Report Share Posted May 24, 2007 Sorry, I can't english very well. ex) I have 4 Point Data [Points] X1 = 1, Y1 = -5 X2 = 2, Y2 = 10 X3 = 3, Y3 = 20 X4 = 4, Y4 = 21 This poins shown by ChartFX Curve Graph. but, I can't find any X Position when Y Position is 0. Of curse, Needs any spline algorithm . But, I found X Position when Mouse move on X Axis of ChartFX. I think easily use ChartFX's Internal Data than any spline algorithm. I have a sample source. Do you want a sample source?? Thank you. Link to comment Share on other sites More sharing options...
Frank Posted May 29, 2007 Report Share Posted May 29, 2007 We use .NET's Graphics.DrawCurve to draw this curve. We do not have a public API that will return you the corresponding Y for a given x in this curve. I guess you can google the formula they use and obtain it this way. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.