TimeSpanTickProvider

StockSharp.Xaml.Charting.Visuals.Axes

Provides tick coordinates for the DateTimeAxis

Inherits: TimeSpanTickProviderBase

Methods

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.

Returns: The addition result

GetTicks(IComparable) : double

Returns Ticks or Ticks depending on derived type

value
IsAdditionValid(IComparable, TimeSpan) : bool

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

current
The current.
delta
The delta.

Returns: 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.

Returns: 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.

Returns: The rounded value