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
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createScaleAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;Swift
class func createScaleAnimator(for series: any ISCIRenderableSeries) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createScaleAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine;Swift
class func createScaleAnimator(for series: any ISCIRenderableSeries, withZeroLine zeroLine: Double) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithsweeptransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createSweepAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;Swift
class func createSweepAnimator(for series: any ISCIRenderableSeries) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series;Swift
class func createWaveAnimator(for series: any ISCIRenderableSeries) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine;Swift
class func createWaveAnimator(for series: any ISCIRenderableSeries, withZeroLine zeroLine: Double) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createWaveAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine andDurationOfStep:(float)durationOfStep;Swift
class func createWaveAnimator(for series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, andDurationOfStep durationOfStep: Float) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationOfStepWave duration before next point is started to animate. Default is
0.5.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithtranslatetransformation inX-Direction.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createTranslateXAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset;Swift
class func createTranslateXAnimator(for series: any ISCIRenderableSeries, withOffset offset: Float) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.offsetThe translation offset value.
Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswithtranslatetransformation inY-Direction.Declaration
Objective-C
+ (nonnull SCIValueAnimator *)createTranslateYAnimatorForSeries: (nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset;Swift
class func createTranslateYAnimator(for series: any ISCIRenderableSeries, withOffset offset: Float) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.offsetThe translation offset value.
Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries. -
Creates
SCIValueAnimatorwhich can be used to animate associatedISCIRenderableSerieswith one of the providedISCIRenderPassDataTransformations.Declaration
Objective-C
+ (nonnull SCIValueAnimator *) createAnimatorForSeries:(nonnull id<ISCIRenderableSeries>)series withTransformation: (nonnull id<ISCIRenderPassDataTransformation>)transformation;Swift
class func createAnimator(for series: any ISCIRenderableSeries, with transformation: any ISCIRenderPassDataTransformation) -> SCIValueAnimatorParameters
seriesThe associated
ISCIRenderableSerieswhich is going to be animated.transformationThe
ISCIRenderPassDataTransformationwhich is going to be applied onto associatedseries.Return Value
SCIValueAnimatorinsance which can be used to animate associatedISCIRenderableSeries.
-
Fade-inanimates passed inISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)fadeSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func fade(_ series: any ISCIRenderableSeries, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to
fade-in.durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Fade-inanimates passed inISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)fadeSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func fade(_ series: any ISCIRenderableSeries, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to
fade-in.durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func scale(_ series: any ISCIRenderableSeries, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func scale(_ series: any ISCIRenderableSeries, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func scale(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithscaletransformation.Declaration
Objective-C
+ (void)scaleSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func scale(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSerieswithsweeptransformation.Declaration
Objective-C
+ (void)sweepSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func sweep(_ series: any ISCIRenderableSeries, duration: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithsweeptransformation.Declaration
Objective-C
+ (void)sweepSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func sweep(_ series: any ISCIRenderableSeries, duration: TimeInterval, delay: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func wave(_ series: any ISCIRenderableSeries, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func wave(_ series: any ISCIRenderableSeries, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func wave(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine duration:(NSTimeInterval)duration delay:(NSTimeInterval)delay andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func wave(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithwavetransformation.Declaration
Objective-C
+ (void)waveSeries:(nonnull id<ISCIRenderableSeries>)series withZeroLine:(double)zeroLine andDurationOfStep:(float)durationOfStep duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func wave(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, andDurationOfStep durationOfStep: Float, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationOfStepWave duration before next point is started to animate. Default is
0.5.durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithwavetransformation.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;Swift
class func wave(_ series: any ISCIRenderableSeries, withZeroLine zeroLine: Double, andDurationOfStep durationOfStep: Float, duration: TimeInterval, delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
zeroLineData value which determines the zero line in
Y-direction, from which scaling will be performed.durationOfStepWave duration before next point is started to animate. Default is
0.5.durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
-
Animate passed in
ISCIRenderableSerieswithtranslatetransformation inX-Direction.Declaration
Objective-C
+ (void)translateXSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func translateX(_ series: any ISCIRenderableSeries, offset: Float, duration: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
offsetThe translation offset value.
durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithtranslatetransformation 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;Swift
class func translateX(_ series: any ISCIRenderableSeries, offset: Float, duration: TimeInterval, delay: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
offsetThe translation offset value.
durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithtranslatetransformation inY-Direction.Declaration
Objective-C
+ (void)translateYSeries:(nonnull id<ISCIRenderableSeries>)series withOffset:(float)offset duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func translateY(_ series: any ISCIRenderableSeries, offset: Float, duration: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
offsetThe translation offset value.
durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animate passed in
ISCIRenderableSerieswithtranslatetransformation 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;Swift
class func translateY(_ series: any ISCIRenderableSeries, offset: Float, duration: TimeInterval, delay: TimeInterval, easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
offsetThe translation offset value.
durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
-
Animates passed in
ISCIRenderableSerieswith definedISCIRenderPassDataTransformationand other params.Declaration
Objective-C
+ (void)animateSeries:(nonnull id<ISCIRenderableSeries>)series withTransformation: (nonnull id<ISCIRenderPassDataTransformation>)transformation duration:(NSTimeInterval)duration andEasingFunction:(nullable id<ISCIEasingFunction>)easingFunction;Swift
class func animate(_ series: any ISCIRenderableSeries, with transformation: any ISCIRenderPassDataTransformation, duration: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
transformationThe
ISCIRenderPassDataTransformationwhich will be used during animation.durationThe length of the animation.
easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation. -
Animates passed in
ISCIRenderableSerieswith definedISCIRenderPassDataTransformationand 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;Swift
class func animate(_ series: any ISCIRenderableSeries, with transformation: any ISCIRenderPassDataTransformation, duration: TimeInterval, startDelay delay: TimeInterval, andEasingFunction easingFunction: (any ISCIEasingFunction)?)Parameters
seriesThe series to animate.
transformationThe
ISCIRenderPassDataTransformationwhich will be used during animation.durationThe length of the animation.
delayThe
delaybefore start of the animation.easingFunctionThe
ISCIEasingFunctionused in calculating the elapsed fraction of the animation.
View on GitHub