Click or drag to resize

SharpScriptBaseCalculateYFromPrice Method

Calculate the Y point from price

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

Parameters

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

Return Value

Type: Double
See Also