File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
AAInfographicsDemo/Demo/AdditionalContent2 Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,9 @@ class AABaseChartVC: UIViewController {
251251 . color ( AAColor . red)
252252 . fontSize ( 9 ) )
253253
254- // aaOptions.defaultOptions = AALang()
255- // .noData("暂无数据")
256- // .resetZoom("重置缩放比例 ")
254+ aaOptions. defaultOptions = AALang ( )
255+ . noData ( " 暂无数据 " )
256+ . resetZoom ( " 点击重置缩放比例 " )
257257 /**
258258 public class AAZooming: AAObject {
259259 public var key: String?
@@ -301,12 +301,14 @@ class AABaseChartVC: UIViewController {
301301 ]
302302 ] ) )
303303 . singleTouch ( true )
304- . type ( . xy)
305-
304+ . type ( . x)
305+ . pinchType ( . x)
306+
307+ aaOptions. chart? . pinchType ( . x)
306308
307309
308310
309- // aaChartView?.isScrollEnabled = true
311+ aaChartView? . isScrollEnabled = true
310312 aaChartView? . aa_refreshChartWholeContentWithChartOptions ( aaOptions)
311313 }
312314 }
You can’t perform that action at this time.
0 commit comments