Click or drag to resize

VisualBaseCalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) Method

Calculate Y from price

Namespace: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.6.0
Syntax
C#
protected double CalculateYFromPrice(
	double min,
	double max,
	double price,
	double actualHeight,
	double yMargin,
	ScaleType scaleType
)

Parameters

min  Double
Minimum price
max  Double
Maximum visible price
price  Double
Price
actualHeight  Double
Height of the view
yMargin  Double
Margin of the view
scaleType  ScaleType
ScaleType

Return Value

Double
See Also