[SwiftUI] Does not work properly when added as a pie chart annotation #2521
diliproshitha
started this conversation in
General
Replies: 1 comment
-
I took a look. I see the I believe this is an issue with the Swift Charts library |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When a Lottie animation is added as an annotation to pie chart, animation goes out of defined frame and does not play properly.
LottieAnimation.swift
Preview:

PieChart.swift:
Preview:

Which Version of Lottie are you using?
Lottie 4.5.1
Expected Behavior
Animation should be playing properly when added as an annotation to a pie chart
Actual Behavior
Only a part of the animation is shown in given frame.

Animation JSON
Lottie-Test.json
Here is a test project for your reference:
LottieTestProject.zip
Beta Was this translation helpful? Give feedback.
All reactions