TimeSpanTickProviderBase
A Common base class for TimeSpan and DateTimeTickProviders, which provide tick coordinates for the DateTimeAxis and TimeSpanAxis
Hereda de: TickProvider<IComparable>
Métodos
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.
Devuelve: The addition result
ConvertTicks(IComparable[]) : double[]
Converts ticks in generic format to Double, e.g. cast to double for numeric types, or cast DateTime.Ticks to double for DateTime types
- ticks
GetMajorTicks(IAxisParams) : IComparable[]
Returns Generic-typed representation of major ticks array
- axis
- The AxisParams for the axis
Devuelve: The array of ticks to display (data values converted to T)
GetMajorTicks(IRange, IAxisDelta<TimeSpan>) : IComparable[]
Given a date tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks
GetMinorTicks(IAxisParams) : IComparable[]
Returns Generic-typed representation of minor ticks array
- axis
- The AxisParams for the axis
Devuelve: The array of ticks to display (data values converted to T)
GetMinorTicks(IRange, IAxisDelta<TimeSpan>) : IComparable[]
Given a date tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks
IsAdditionValid(IComparable, TimeSpan) : bool
Determines whether addition is valid between the current IComparable and the TimeSpan specified by
- current
- The current.
- delta
- The delta.
Devuelve: 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.
Devuelve: 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.
Devuelve: The rounded value