Skip to content

Commit a97c52d

Browse files
committed
Format code
1 parent 5e3d4d5 commit a97c52d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

AAInfographicsDemo/Demo/AdditionalContent1/DrawChartWithAAOptionsVC.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class DrawChartWithAAOptionsVC: AABaseChartVC {
197197
//该配置一般是用于多坐标轴区分展示,另外在 Highstock 中,y 轴默认是在对立面显示の。
198198
//默认是:false.
199199
aaOptions.yAxis?.opposite(true)
200+
200201
return aaOptions
201202
}
202203

@@ -213,6 +214,7 @@ class DrawChartWithAAOptionsVC: AABaseChartVC {
213214

214215
let aaOptions = AAOptionsConstructor.configureChartOptions(aaChartModel)
215216
aaOptions.yAxis?.min(1000)
217+
216218
return aaOptions
217219
}
218220

@@ -289,6 +291,7 @@ class DrawChartWithAAOptionsVC: AABaseChartVC {
289291
.yAxisArray(YAxisArr)
290292
.plotOptions(aaPlotOptions)
291293
.series(aaSeriesArr)
294+
292295
return aaOptions
293296
}
294297

@@ -389,6 +392,7 @@ class DrawChartWithAAOptionsVC: AABaseChartVC {
389392
.thickness("5%")
390393

391394
])
395+
392396
return aaOptions
393397
}
394398

@@ -709,6 +713,7 @@ function () {
709713

710714
let aaOptions = AAOptionsConstructor.configureChartOptions(aaChartModel)
711715
aaOptions.xAxis?.labels?.useHTML(true)
716+
712717
return aaOptions
713718
}
714719

@@ -1368,6 +1373,7 @@ function () {
13681373
.tooltip(aaTooltip)
13691374
.legend(aaLegend)
13701375
.series([element1,element2])
1376+
13711377
return aaOptions
13721378
}
13731379

@@ -1497,7 +1503,6 @@ function () {
14971503
.tickPositions([0,1,2,0])
14981504

14991505
aaOptions.xAxis?.labels?
1500-
15011506
.formatter(xAxisLabelsFormatter)
15021507

15031508
return aaOptions
@@ -1592,6 +1597,7 @@ function () {
15921597

15931598
let aaOptions = AAOptionsConstructor.configureChartOptions(aaChartModel)
15941599
aaOptions.xAxis?.labels?.useHTML = true
1600+
15951601
return aaOptions
15961602
}
15971603

@@ -1664,6 +1670,7 @@ function () {
16641670

16651671
let aaYAxis = aaOptions.yAxis
16661672
aaYAxis?.plotBands = aaPlotBandsArr
1673+
16671674
return aaOptions
16681675
}
16691676

@@ -1702,7 +1709,6 @@ function () {
17021709
.dataLabels(AADataLabels()
17031710
.color(AAColor.rgbaColor(255, 0, 0, 1.0)))
17041711

1705-
17061712
return aaOptions
17071713
}
17081714

@@ -1741,7 +1747,6 @@ function () {
17411747
.dataLabels(AADataLabels()
17421748
.color(AAColor.rgbaColor(255, 215, 0, 1.0)))
17431749

1744-
17451750
return aaOptions
17461751
}
17471752

@@ -1780,7 +1785,6 @@ function () {
17801785
.dataLabels(AADataLabels()
17811786
.color(AAColor.rgbaColor(50, 205, 50, 1.0)))
17821787

1783-
17841788
return aaOptions
17851789
}
17861790

@@ -1819,7 +1823,6 @@ function () {
18191823
.dataLabels(AADataLabels()
18201824
.color(AAColor.rgbaColor(138, 43, 226, 1.0)))
18211825

1822-
18231826
return aaOptions
18241827
}
18251828

0 commit comments

Comments
 (0)