Skip to content

Commit 073add5

Browse files
committed
Update AAChartView+ScreenRotation.swift
1 parent 7f8d6ef commit 073add5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AAInfographicsDemo/Demo/AdditionalContent1/AAChartView+ScreenRotation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extension AAChartView {
5858
}
5959
6060
// Pass animationJsonStr as a string literal using single quotes
61-
changeChartSize(\(frame.size.width), \(frame.size.height), \(animationJsonStr))
61+
changeChartSize(\(frame.size.width), \(frame.size.height), '\(animationJsonStr)')
6262
"""
6363
safeEvaluateJavaScriptString(jsFuncStr)
6464
}

0 commit comments

Comments
 (0)