Interface IAxisInteractivityHelper
Defines a set of operations which allows to interact with axis that owns current instance of IAxisInteractivityHelper
Namespace:
Assembly: .dll
Syntax
public interface IAxisInteractivityHelper
Methods
<T>clipRange(IRange<T> range, IRange<T> maximumRange, ClipMode clipMode)
Performs clipping of passed range
using clipMode
Declaration
public abstract void <T>clipRange(IRange<T> range, IRange<T> maximumRange, ClipMode clipMode)
Parameters
Type | Name | Description |
---|---|---|
IRange<T> | range | IRange instance to zoom |
IRange<T> | maximumRange | IRange instance to zoom |
ClipMode | clipMode | The ClipMode value |
scroll(IRange range, float pixels)
From the starting IRange, scrolls to a new range by the the specified number of pixels
Declaration
public abstract void scroll(IRange range, float pixels)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | IRange instance to zoom |
float | pixels | The amount of pixels to scroll |
scrollInMaxDirection(IRange range, float pixels)
From the starting IRange, scrolls to a new range by the the specified number of pixels in Max direction
Declaration
public abstract void scrollInMaxDirection(IRange range, float pixels)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | IRange instance to zoom |
float | pixels | The amount of pixels to scroll |
scrollInMinDirection(IRange range, float pixels)
From the starting IRange, scrolls to a new range by the the specified number of pixels in Min direction
Declaration
public abstract void scrollInMinDirection(IRange range, float pixels)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | IRange instance to zoom |
float | pixels | The amount of pixels to scroll |
zoom(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
Declaration
public abstract void zoom(IRange range, float fromCoord, float toCoord)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | IRange instance to zoom |
float | fromCoord | The coordinates of new range start in pixels |
float | toCoord | The coordinates of new range end in pixels |
zoomBy(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
Declaration
public abstract void zoomBy(IRange range, double minFraction, double maxFraction)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | IRange instance to zoom |
double | minFraction | The multiplier of range start |
double | maxFraction | The multiplier of range end |