The %com.scichart.data.model.IRange<T extends java.lang.Comparable<T>>% instance which will be scaled.
The input range, expecting a VisibleRange
The com.scichart.charting.visuals.axes.IAxis instance being operated on.
applyRelativeScaleToRange Method
When overridden in a derived class, applies relative scale to the associated %com.scichart.data.model.IRange<T extends java.lang.Comparable<T>>% which is given in the input parameters. A relative range is defined as one that affects the com.scichart.charting.visuals.axes.AxisCore<T>.getGrowBy, not the com.scichart.charting.visuals.axes.AxisCore<T>.getVisibleRange. This is used in cases where the XAxis or YAxis has com.scichart.charting.visuals.axes.AxisCore<T>.getAutoRange value set to com.scichart.charting.visuals.axes.AutoRange.Always, and you still want to be able to drag the axis and to set a constant, relative margin of spacing around the upper and lower bounds of the data.
Syntax
protected void applyRelativeScaleToRange( 
   com.scichart.data.model.IRange<}> applyTo,
   com.scichart.data.model.IRange<}> fromRange,
   IAxis axis
)

Parameters

applyTo
The %com.scichart.data.model.IRange<T extends java.lang.Comparable<T>>% instance which will be scaled.
fromRange
The input range, expecting a VisibleRange
axis
The com.scichart.charting.visuals.axes.IAxis instance being operated on.
See Also