ltang Posted March 14, 2008 Report Share Posted March 14, 2008 Based on the observation that AxisX and AxisY are of the same class and PixelValue works for Y but not X, I found out that it seems the Coordinate Translation in the API did notoffset Axis's Drawing Area. AxisX is as default drawn at the bottom and with respect to the ABSOLUTE Coordinate, the offset is Zero in the Coordinate Translation calculation of Y. However the bug shows up on AxisX.PixelToValue because AxisY, as default, drawn on the left, which means the offset is NOT zero.By setting YAxis's visibility to hidden (therefore Offset is zero), I can get AxisX.PixelToValue return expected value. Quote Link to comment Share on other sites More sharing options...
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.