-
Notifications
You must be signed in to change notification settings - Fork 0
Entrance Animation
Mikho Juice edited this page Jun 2, 2017
·
1 revision
Graphs with BEMSimpleLineGraph are drawn with an animation by default.
###Animation Speed
The animationGraphEntranceSpeed
property is a CGFloat which value indicates the time in seconds of the entrance animation.
Its default value is 1.5, meaning that the animation drawing the graph will last for 1.5 seconds.
self.myGrpah.animationGraphEntranceSpeed = 1.5;
###Animation Style
The property animationGraphStyle
controls the type of animation to be used. Here is a full list of the available styles:
-
BEMLineAnimationDraw (Default)
The draw animation style is pictured above. The graph is "drawn-in" from left to right. -
BEMLineAnimationFade
The fade animation simply fades the graph from an opacity of 0% to an opacity of 100%. -
BEMLineAnimationNone
No animation will be made when loading or reloading the graph.