Click or drag to resize

SharpScriptBaseCalculatePriceFromY Method

Calculates the price from Y point

Namespace:  SharpCharts.Base.SharpScript
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
public double CalculatePriceFromY(
	double min,
	double max,
	double y,
	double height
)

Parameters

min
Type: SystemDouble
Minimum value of the Y-Axis
max
Type: SystemDouble
Maximum value of the Y-Axis
y
Type: SystemDouble
Y point
height
Type: SystemDouble
Actual height of the view

Return Value

Type: Double
See Also