public interface ICoordinateCalculator
Modifier and Type | Method and Description |
---|---|
float |
getCoordinate(double dataValue)
Transforms a data value into a pixel coordinate
|
void |
getCoordinates(double[] dataValues,
float[] coordinates,
int count)
Transforms data values into a pixel coordinates
|
int |
getCoordinatesOffset()
Gets a coordinate offset in pixels
|
double |
getDataValue(float coordinate)
Transforms a pixel coordinate into a data value
|
void |
getDataValues(float[] coordinates,
double[] dataValues,
int count)
Transforms pixel coordinates into a data values
|
double |
getMaxAsDouble()
Gets the axis max value of visible range
|
double |
getMinAsDouble()
Gets the axis min value of visible range
|
int |
getViewportDimension()
Gets the axis viewport size in pixels
|
boolean |
hasFlippedCoordinates()
Gets a value indicating whether coordinates are flipped
|
boolean |
isCategoryAxisCalculator()
Gets a value indicating whether this is a category axis coordinate calculator
|
boolean |
isHorizontalAxisCalculator()
Gets a value indicating whether this is a horizontal axis coordinate calculator
|
boolean |
isLogarithmicAxisCalculator()
Gets a value indicating whether this is a logarithmic axis coordinate calculator
|
boolean |
isXAxisCalculator()
Gets a value indicating whether this coordinate calculator belongs by X axis
|
void |
translateBy(com.scichart.data.model.IRange range,
float pixels)
Translates the min and max of the input range by the specified data value
|
float getCoordinate(double dataValue)
dataValue
- The data value to transformdouble getDataValue(float coordinate)
coordinate
- The pixel coordinate to transformvoid getCoordinates(double[] dataValues, float[] coordinates, int count)
dataValues
- The data value to transformcoordinates
- The target array for pixel coordinatescount
- Amount of points to transformvoid getDataValues(float[] coordinates, double[] dataValues, int count)
coordinates
- pixel coordinates to transformdataValues
- The target array for data valuescount
- Amount of points to transformdouble getMinAsDouble()
double getMaxAsDouble()
int getViewportDimension()
boolean isCategoryAxisCalculator()
boolean isLogarithmicAxisCalculator()
boolean isHorizontalAxisCalculator()
boolean isXAxisCalculator()
boolean hasFlippedCoordinates()
int getCoordinatesOffset()
void translateBy(com.scichart.data.model.IRange range, float pixels)
range
- The range to translatepixels
- The number of pixels to translate by.