Click or drag to resize

IChartViewModelCalculateXFromTime Method

Calculates the x co-ordinates from time

Namespace: ArthaChitra.Model.Chart
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
double CalculateXFromTime(
	DateTime time,
	out int nearestBarIndex
)

Parameters

time  DateTime
Time
nearestBarIndex  Int32
The nearest bar index. This value is returned for Equi-distant axis only, if available. For Time Axis it is set to -1

Return Value

Double
See Also