Export (0) Print
Expand All

Axis.GetPosition Method

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.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public double GetPosition(
	double axisValue
)

Parameters

axisValue
Type: System.Double

The axis value.

Return Value

Type: System.Double
A double value that represents the relative position (0-100%).

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft