rajui Posted May 13, 2010 Report Share Posted May 13, 2010 Am having dates on x axix, double on y-axix now am adding a picture with annotaion to the chart attach method is taking two double values as parameters how to locate my annotation picture on chart? Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted May 27, 2010 Report Share Posted May 27, 2010 Hi rahui Chart FX manage the Dates as doubles in the Axis, you can convert any Date into a double. Please check the following code: DateTime dateTime = DateTime.Today double yourValue = dateTime.ToOADate(); you will get the double value for the dateTime variable. Use this in order to locate the annotation picture you want to use. Carlos Chaves 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.