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.WPF
Assembly:
Arction.Wpf.TradingCharts (in Arction.Wpf.TradingCharts.dll) Version: 10.3.1
Syntaxpublic double DateTimeToXValue(
DateTime dateTime
)
Public Function DateTimeToXValue (
dateTime As DateTime
) As Double
public:
double DateTimeToXValue(
DateTime dateTime
)
Parameters
- dateTime
- Type: SystemDateTime
DateTime to be converted.
Return Value
Type:
DoubleX-axis value
See Also