Click or drag to resize

TradingChartDateTimeToXValue Method

LightningChart .NET Help
Converts given DateTime to actual X-axis value. Due to removal of non-trading days, the X-axis is not linear. Therefore, it is not possible to convert values outside the visible time range. Returns minimum or maximum axis value if given time is outside the range.

Namespace:  Arction.CustomControls.Trader.WinForms
Assembly:  Arction.WinForms.TradingCharts (in Arction.WinForms.TradingCharts.dll) Version: 10.3.1
Syntax
public double DateTimeToXValue(
	DateTime dateTime
)

Parameters

dateTime
Type: SystemDateTime
DateTime to be converted.

Return Value

Type: Double
X value
See Also