ArthaChitra help files
ArthaChitra help files
SharpCharts.Base.SharpScript
SharpScriptBase Class
SharpScriptBase Methods
GetBarIndexFromTime Method
GetBarIndexFromTime Method (DateTime)
GetBarIndexFromTime Method (Bars, DateTime)
SharpScriptBase
GetBarIndexFromTime Method (Bars, DateTime)
Gets the bar index from time. Returns -1 if time is beyond the bars range
Namespace:
SharpCharts.Base.SharpScript
Assembly:
SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
Copy
protected
int
GetBarIndexFromTime
(
Bars
bars
,
DateTime
time
)
Parameters
bars
Type:
SharpCharts.Base.Data
Bars
Bars
time
Type:
System
DateTime
Time
Return Value
Type:
Int32
See Also
Reference
SharpScriptBase Class
GetBarIndexFromTime Overload
SharpCharts.Base.SharpScript Namespace
Send comments on this topic to
support@arthachitra.com