public interface IAxisInteractivityHelper
IAxisInteractivityHelper
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Comparable<T>> |
clipRange(com.scichart.data.model.IRange<T> range,
com.scichart.data.model.IRange<T> maximumRange,
ClipMode clipMode)
Performs clipping of passed
range using clipMode |
void |
scroll(com.scichart.data.model.IRange range,
float pixels)
From the starting
IRange , scrolls to a new range by the the specified number of pixels |
void |
scrollInMaxDirection(com.scichart.data.model.IRange range,
float pixels)
From the starting
IRange , scrolls to a new range by the the specified number of pixels in Max direction |
void |
scrollInMinDirection(com.scichart.data.model.IRange range,
float pixels)
From the starting
IRange , scrolls to a new range by the the specified number of pixels in Min direction |
void |
zoom(com.scichart.data.model.IRange range,
float fromCoord,
float toCoord)
Calculates and returns a Zoomed Range on current
IAxis ,
using fromCoord as a coordinate of new range start and toCoord as a coordinate of new range end |
void |
zoomBy(com.scichart.data.model.IRange range,
double minFraction,
double maxFraction)
Calculates and returns a Zoomed Range on current
IAxis ,
using minFraction as multiplier of range start and maxFraction as multiplier of range end |
void zoom(com.scichart.data.model.IRange range, float fromCoord, float toCoord)
IAxis
,
using fromCoord
as a coordinate of new range start and toCoord
as a coordinate of new range endrange
- IRange
instance to zoomfromCoord
- The coordinates of new range start in pixelstoCoord
- The coordinates of new range end in pixelsvoid zoomBy(com.scichart.data.model.IRange range, double minFraction, double maxFraction)
IAxis
,
using minFraction
as multiplier of range start and maxFraction
as multiplier of range endrange
- IRange
instance to zoomminFraction
- The multiplier of range startmaxFraction
- The multiplier of range endvoid scrollInMinDirection(com.scichart.data.model.IRange range, float pixels)
IRange
, scrolls to a new range by the the specified number of pixels in Min directionrange
- IRange
instance to zoompixels
- The amount of pixels to scrollvoid scrollInMaxDirection(com.scichart.data.model.IRange range, float pixels)
IRange
, scrolls to a new range by the the specified number of pixels in Max directionrange
- IRange
instance to zoompixels
- The amount of pixels to scrollvoid scroll(com.scichart.data.model.IRange range, float pixels)
IRange
, scrolls to a new range by the the specified number of pixelsrange
- IRange
instance to zoompixels
- The amount of pixels to scroll<T extends java.lang.Comparable<T>> void clipRange(com.scichart.data.model.IRange<T> range, com.scichart.data.model.IRange<T> maximumRange, ClipMode clipMode)
range
using clipMode
T
- The type of range which should extend Comparable
of Trange
- IRange
instance to zoommaximumRange
- IRange
instance to zoomclipMode
- The ClipMode
value