Axis.PositionToValue Method (Double)

.NET Framework (current version)
 

Converts a relative coordinate along an axis to an axis value. This method only works in paint events.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public double PositionToValue(
	double position
)

Parameters

position
Type: System.Double

The relative position (0-100%).

Return Value

Type: System.Double

A double value that represents the axis value.

.NET Framework
Available since 4.0
Return to top
Show: