public interface IRangeCalculationHelper<T extends java.lang.Comparable<T>>
extends com.scichart.core.framework.IAttachable
IRangeCalculationHelper
Modifier and Type | Method and Description |
---|---|
com.scichart.data.model.IRange<T> |
getDataRange(boolean forceCacheUpdate)
Gets data range(full extents of the data) of the Axis
|
com.scichart.data.model.IRange<T> |
getMaximumRange(boolean forceCacheUpdate)
Gets the maximum range of the axis, based on the data-range of all series
|
com.scichart.data.model.IRange<T> |
getWindowedYRange(java.util.Map<java.lang.String,ICoordinateCalculator> xCoordCalcs)
Returns the max range only for that axis (by the data-series on it), based on
xRanges |
void |
onDataRangeChanged()
Called internally when data range changes
|
com.scichart.data.model.IRange<T> getDataRange(boolean forceCacheUpdate)
forceCacheUpdate
- if true forces full recalculation of data range even if data hasn't changedcom.scichart.data.model.IRange<T> getMaximumRange(boolean forceCacheUpdate)
forceCacheUpdate
- if true forces full recalculation of maximum range even if data hasn't changedcom.scichart.data.model.IRange<T> getWindowedYRange(java.util.Map<java.lang.String,ICoordinateCalculator> xCoordCalcs)
xRanges
"windowed" = "displayed in current viewport"
Note:uses GrowBy()
xCoordCalcs
- Calculates the max range based on corresponding x coordinate calculatorsvoid onDataRangeChanged()