The DataValue as input
GetCoordinate Method (AxisCore)
Given the Data Value, returns the x or y pixel coordinate at that value on the Axis. This operation is the opposite of HitTest(Point)
public virtual double GetCoordinate( 
   IComparable value


The DataValue as input

Return Value

The pixel coordinate on this Axis corresponding to the input DataValue
If the Axis is an XAxis, the coordinate returned is an X-pixel. If the axis is a Y Axis, the coordinate returned is a Y-pixel
Given an axis with a VisibleRange of 1..10 and height of 100, a value of 7 passed in to GetCoordinate would return 70 pixels

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also