DateTimeTickProvider

StockSharp.Xaml.Charting.Visuals.Axes

Provides tick coordinates for the DateTimeAxis

继承自: TimeSpanTickProviderBase

方法

AddDelta(IComparable, TimeSpan) : IComparable

When overriden in a derived class, Adds the IComparable to the nearest TimeSpan specified by

current
The current value.
delta
The delta.

返回值: The addition result

IsAdditionValid(IComparable, TimeSpan) : bool

Determines whether addition is valid between the current IComparable and the TimeSpan specified by

current
The current.
delta
The delta.

返回值: If True, addition is valid

IsDivisibleBy(IComparable, TimeSpan) : bool

When overriden in a derived class, Determines whether the IComparable is divisible by the TimeSpan specified by

current
The current value.
delta
The delta.

返回值: If True, IsDivisibleBy

RoundUp(IComparable, TimeSpan) : IComparable

When overriden in a derived class, Rounds up the IComparable to the nearest TimeSpan specified by

current
The current value.
delta
The delta.

返回值: The rounded value