Dundas Chart for ASP.NET
GetPosition Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > AxisScale Class : GetPosition Method


axisValue
Value from the Axis.
Value from axis.
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 AxisScale
Dim axisValue As Double
Dim value As Double
 
value = instance.GetPosition(axisValue)
C#  
public double GetPosition( 
   double axisValue
)

Parameters

axisValue
Value from the Axis.
Value from axis.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.