Axis.ValueToPixelPosition Method (Double)

.NET Framework (current version)

Converts an axis value to an absolute coordinate along an axis. Measured in pixels. 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 ValueToPixelPosition(
	double axisValue


Type: System.Double

The axis value.

Return Value

Type: System.Double

A double value that represents the pixel position.

.NET Framework
Available since 4.0
Return to top