Dundas Chart for Windows Forms
GetPosition Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Axis Class : GetPosition Method


axisValue
Value from the Axis.
This function converts an axis value to a relative position (0-100%). If an axis is logarithmic  then the value is converted to a linear scale.

Syntax

Visual Basic (Declaration)  
Public Function GetPosition( _
   ByVal axisValue As Double _
) As Double
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim axisValue As Double
Dim value As Double
 
value = instance.GetPosition(axisValue)
C#  
public double GetPosition( 
   double axisValue
)

Parameters

axisValue
Value from the Axis.

Return Value

Relative position, measured as 0-100%.

Remarks

This method only works in paint events.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.