Probably a simple question, but I can't figure out what the inverse function for GetPoint would be. GetPoint returns the pixel value for a given value in the coordinate space of an Axis. How do I get the value for the coordinate space for an Axis if I have the pixel value?
Thanks !!
-Mike Graham
Unfortunately, currently the XamChart doesn't have this functionality. If you want to request this as an official feature then please visit this page: https://ko.infragistics.com/community/ideas
Also you can try looking at:
http://forums.infragistics.com/forums/p/15085/56256.aspx
You'll get more feedback if you include the 'x' on the end of the URL ;)
https://ko.infragistics.com/community/ideas
I suppose its easy enough to get two points and calculate the inverse function, but it would be very nice if it was built in, expecially in the case of log axes :)
Keep up the great work, you guys rock !!
Actually, you can get the coordinates mapped to the axes with:
private void XamChart_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
HitTestArgs args = Chart.HitTest(e);
double yAxisValue = args.YValue;
double xAxisValue = args.XValue;
}