com.jidesoft.chart.axis
Interface TickCalculator<T>
- Type Parameters:
T
- the class of object over which the axis ranges; for example Double
for a numeric axis.
- All Known Subinterfaces:
- CategoryTickCalculator<T>, NumericTickCalculator, TimeTickCalculator
- All Known Implementing Classes:
- AbstractTimeTickCalculator, DefaultCategoryTickCalculator, DefaultNumericTickCalculator, DefaultTimeTickCalculator, IntegerTickCalculator, SimpleNumericTickCalculator, SimpleTimeTickCalculator
public interface TickCalculator<T>
This interface is implemented by all objects that calculate tick positions for axes, whether for numeric, category
or time-based axes. Extensions of this interface provide more detailed levels of support for each of these axis
types.
calculateTicks
Tick[] calculateTicks(Range<T> range)
- Calculate the ticks for this range of values
- Returns:
- an array of tick values
addPropertyChangeListener
void addPropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
void removePropertyChangeListener(PropertyChangeListener listener)