com.jidesoft.chart
Interface AutoRanger
- All Known Subinterfaces:
- MultiAutoRanger
- All Known Implementing Classes:
- AbstractAutoRanger, DefaultAutoRanger, ZeroAlignedAutoRanger
public interface AutoRanger
The interface that must be implemented by any objects that are to be used as auto-rangers for a chart.
getRanges
Pair<Range<?>,Range<?>> getRanges(Chart chart)
- Returns a pair of range instances for the supplied chart. The first range will be used for the x axis
and the second range will be used for the primary y axis. Note that auto-ranging is used only when the
chart's auto-ranging property is set to true.
- Parameters:
chart
- the chart instance for which the ranges should be calculated
- Returns:
- a pair of ranges, one for the x axis and one for the y axis