iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIRenderPassDataTransformation
@protocol ISCIRenderPassDataTransformation <ISCIAttachable>
Defines the protocol for render pass data transformations.
Note
This protocol and classes that conforms to it are used for animations purposes. You can use it to just transform render pass data, it’s not recommended though.-
Set’s current value, according to which, associated render pass data will be transformed. Note: This is used for animations purposes.
Declaration
Objective-C
- (void)setCurrentProgress:(float)currentProgress;
Swift
func setCurrentProgress(_ currentProgress: Float)
Parameters
currentProgress
The new value.
-
Notifies the start of the associated animation.
Declaration
Objective-C
- (void)onAnimationStartWithInitialValue:(float)initialValue;
Swift
func onAnimationStart(withInitialValue initialValue: Float)
Parameters
initialValue
The initial value of the associated animation.
-
Notifies the end of the associated animation.
Declaration
Objective-C
- (void)onAnimationEnd;
Swift
func onAnimationEnd()
-
Performs transformation of the associated render pass data. This called during render pass if this transformations is attached to associated
ISCIRenderableSeries
.Declaration
Objective-C
- (void)transform;
Swift
func transform()
-
Called after success update of the current
ISCISeriesRenderPassData
.Declaration
Objective-C
- (void)onRenderPassDataChanged;
Swift
func onRenderPassDataChanged()