Axis.GetPosition Method (Double)

.NET Framework (current version)
 

Converts an axis value to a relative position (0-100%). If an axis is logarithmic, the value is converted to a linear scale.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

Public Function GetPosition (
	axisValue As Double
) As Double

Parameters

axisValue
Type: System.Double

The axis value to be converted.

Return Value

Type: System.Double

A double value that represents the relative position (0-100%).

.NET Framework
Available since 4.0
Return to top
Show: