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


axisValue
This function converts an axis value to a relative position (0-100
This function converts axis value to relative position
). If an axis has logarithmic scale, 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 SubAxis
Dim axisValue As Double
Dim value As Double
 
value = instance.GetPosition(axisValue)
C#  
public double GetPosition( 
   double axisValue
)

Parameters

axisValue

Return Value

Relative position, measured as 0-100
Relative position
).

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.