Telerik UI for Windows Phone by Progress

Converts a logical value from a value range to some kind of physical value in another range.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization (in Telerik.Windows.Controls.DataVisualization.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public static double MapLogicalToPhysicalValue(
	double logicalValue,
	double physicalValueMinMaxDifference,
	double logicalValueMinMaxDifference
)
Visual Basic
Public Shared Function MapLogicalToPhysicalValue ( _
	logicalValue As Double, _
	physicalValueMinMaxDifference As Double, _
	logicalValueMinMaxDifference As Double _
) As Double
Visual C++
public:
static double MapLogicalToPhysicalValue(
	double logicalValue, 
	double physicalValueMinMaxDifference, 
	double logicalValueMinMaxDifference
)

Parameters

logicalValue
Type: System..::..Double
The value to be converted.
physicalValueMinMaxDifference
Type: System..::..Double
The difference of the min and max values of the expected metric's range.
logicalValueMinMaxDifference
Type: System..::..Double
The difference between the min and max values.

Return Value

Returns a physical value that corresponds to the logical value in the physical value's respective range.

Remarks

The other physical value can be an angle in the radial range and a distance in the linear range. For example a value in the min/max value range can be converted to an angle in min/max angle range or to a distance in the min/max distance range.

See Also