
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIAnimations
@interface SCIAnimations : NSObject
Defines the class which contains methods to help create different animations/transformations for ISCIRenderableSeries
.
-
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createScaleAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createScaleAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withsweep
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createSweepAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine andDurationOfStep:(float)durationOfStep;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.durationOfStep
Wave duration before next point is started to animate. Default is
0.5
.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withtranslate
transformation inX-Direction
.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createTranslateXAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.offset
The translation offset value.
Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
withtranslate
transformation inY-Direction
.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createTranslateYAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.offset
The translation offset value.
Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
. -
Creates
SCIValueAnimator
which can be used to animate associatedISCIRenderableSeries
with one of the providedISCIRenderPassDataTransformation
s.Declaration
Objective-C
+ (nonnull SCIValueAnimator *) createAnimatorForSeries:(nonnull id<ISCIRenderableSeries>)series withTransformation: (nonnull id<ISCIRenderPassDataTransformation>)transformation;
Parameters
series
The associated
ISCIRenderableSeries
which is going to be animated.transformation
The
ISCIRenderPassDataTransformation
which is going to be applied onto associatedseries
.Return Value
SCIValueAnimator
insance which can be used to animate associatedISCIRenderableSeries
.
-
Fade-in
animates passed inISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)fadeSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to
fade-in
.duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Fade-in
animates passed inISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)fadeSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to
fade-in
.duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withscale
transformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSeries
withsweep
transformation.Declaration
Objective-C
+ (void)sweepSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withsweep
transformation.Declaration
Objective-C
+ (void)sweepSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine andDurationOfStep:(float)durationOfStep duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.durationOfStep
Wave duration before next point is started to animate. Default is
0.5
.duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withwave
transformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine andDurationOfStep:(float)durationOfStep duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.durationOfStep
Wave duration before next point is started to animate. Default is
0.5
.duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSeries
withtranslate
transformation inX-Direction
.Declaration
Objective-C
+ (void)translateXSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
offset
The translation offset value.
duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withtranslate
transformation inX-Direction
.Declaration
Objective-C
+ (void)translateXSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
offset
The translation offset value.
duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withtranslate
transformation inY-Direction
.Declaration
Objective-C
+ (void)translateYSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
offset
The translation offset value.
duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSeries
withtranslate
transformation inY-Direction
.Declaration
Objective-C
+ (void)translateYSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
offset
The translation offset value.
duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.
-
Animates passed in
ISCIRenderableSeries
with definedISCIRenderPassDataTransformation
and other params.Declaration
Objective-C
+ (void)animateSeries:(nonnull id<ISCIRenderableSeries>)series withTransformation: (nonnull id<ISCIRenderPassDataTransformation>)transformation duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
transformation
The
ISCIRenderPassDataTransformation
which will be used during animation.duration
The length of the animation.
easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation. -
Animates passed in
ISCIRenderableSeries
with definedISCIRenderPassDataTransformation
and other params.Declaration
Objective-C
+ (void)animateSeries:(nonnull id<ISCIRenderableSeries>)series withTransformation: (nonnull id<ISCIRenderPassDataTransformation>)transformation duration:(NSTimeInterval)duration startDelay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;
Parameters
series
The series to animate.
transformation
The
ISCIRenderPassDataTransformation
which will be used during animation.duration
The length of the animation.
delay
The
delay
before start of the animation.easingFunction
The
ISCIEasingFunction
used in calculating the elapsed fraction of the animation.