Interface IDeltaCalculator
Provides an interface for Delta calculators
Namespace:
Assembly: .dll
Syntax
public interface IDeltaCalculator
Methods
getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxTicks)
Given an absolute Axis Min and Max, returns a IAxisDelta instance containing sensible MinorDelta and MajorDelta values
Declaration
public abstract deltaCalculators.IAxisDelta<?> getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable<?> | min | The axis VisibleRange min value |
| Comparable<?> | max | The axis VisibleRange max value |
| int | minorsPerMajor | The number of Minor Delta ticks per Major Tick |
| int | maxTicks | The max ticks |
Returns
| Type | Description |
|---|---|
| IAxisDelta<?> | The IAxisDelta instance |