Class TranslateOhlcTransformation<T>
Provides class, which used to translate transform series with OhlcRenderPassData and it's inheritors in Y direction.
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class TranslateOhlcTransformation<T> extends TranslateXyTransformationBase<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
TranslateOhlcTransformation(Class<T> rpdType, float offset)
Create new instance of TranslateOhlcTransformation class.
Declaration
public TranslateOhlcTransformation(Class<T> rpdType, float offset)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | rpdType | Type of associated render pass data. |
float | offset | The offset value in pixels. |
Methods
applyTransformationInternal(float currentDelta)
Applies transformation using ScaleTransformationBase#transformValues(float, FloatValues, FloatValues) method. FloatValues to be supplied from inheritors. First arg is values to transform. Second is to get original coordinates from.
Declaration
protected void applyTransformationInternal(float currentDelta)
Parameters
Type | Name | Description |
---|---|---|
float | currentDelta |
Overrides
discardTransformation()
Discards this transformation from associated series.
Declaration
protected void discardTransformation()
Overrides
onInternalRenderPassDataChanged()
Called when associated series render pass data changed during animation.
Declaration
protected void onInternalRenderPassDataChanged()
Overrides
prepareDataToTransformation()
Prepares associated render pass data to transformation.
Declaration
protected void prepareDataToTransformation()
Overrides
saveOriginalData()
Saves original data from render pass data, which supposed to be changed during #applyTransformation() call.
Declaration
protected void saveOriginalData()