@@ -69,7 +69,7 @@ - (void)setUpChartView {
69
69
70
70
71
71
- (void )monitorTap {
72
- if (self.selectedIndex == 29 ) {
72
+ if (self.selectedIndex == 30 ) {
73
73
self.title = [NSString stringWithFormat: @" ❗️This is the last chart❗️" ];
74
74
} else {
75
75
self.selectedIndex = self.selectedIndex + 1 ;
@@ -1755,12 +1755,12 @@ - (AAOptions *)configureTripleYAxesMixedChart {
1755
1755
.enabledSet (true )// 设置 y 轴是否显示数字
1756
1756
.formatSet (@" {value}°C" )
1757
1757
.styleSet (AAStyle.new
1758
- .colorSet (colorsThemeArr[0 ])// yAxis Label font color
1758
+ .colorSet (colorsThemeArr[2 ])// yAxis Label font color
1759
1759
))
1760
1760
.titleSet (AAAxisTitle.new
1761
1761
.textSet (@" 温度" )
1762
1762
.styleSet (AAStyle.new
1763
- .colorSet (colorsThemeArr[0 ])))
1763
+ .colorSet (colorsThemeArr[2 ])))
1764
1764
.oppositeSet (true );
1765
1765
1766
1766
@@ -1771,12 +1771,12 @@ - (AAOptions *)configureTripleYAxesMixedChart {
1771
1771
.enabledSet (true )// 设置 y 轴是否显示数字
1772
1772
.formatSet (@" {value}°mm" )
1773
1773
.styleSet (AAStyle.new
1774
- .colorSet (colorsThemeArr[1 ])// yAxis Label font color
1774
+ .colorSet (colorsThemeArr[0 ])// yAxis Label font color
1775
1775
))
1776
1776
.titleSet (AAAxisTitle.new
1777
1777
.textSet (@" 降雨量" )
1778
1778
.styleSet (AAStyle.new
1779
- .colorSet (colorsThemeArr[1 ])));
1779
+ .colorSet (colorsThemeArr[0 ])));
1780
1780
1781
1781
AAYAxis *yAxis3 = AAYAxis.new
1782
1782
.visibleSet (true )
@@ -1785,19 +1785,21 @@ - (AAOptions *)configureTripleYAxesMixedChart {
1785
1785
.enabledSet (true )// 设置 y 轴是否显示数字
1786
1786
.formatSet (@" {value}°mb" )
1787
1787
.styleSet (AAStyle.new
1788
- .colorSet (colorsThemeArr[2 ])// yAxis Label font color
1788
+ .colorSet (colorsThemeArr[1 ])// yAxis Label font color
1789
1789
))
1790
- .titleSet (AAAxisTitle.new
1790
+ .titleSet (AAAxisTitle.new
1791
1791
.textSet (@" 海平面气压" )
1792
1792
.styleSet (AAStyle.new
1793
- .colorSet (colorsThemeArr[2 ])));
1794
-
1793
+ .colorSet (colorsThemeArr[1 ])))
1794
+ .oppositeSet (true );
1795
+
1795
1796
AATooltip *aaTooltip = AATooltip.new
1796
1797
.enabledSet (true )
1797
1798
.sharedSet (true );
1798
1799
1799
1800
AALegend *aaLegend = AALegend.new
1800
1801
.enabledSet (true )
1802
+ .floatingSet (true )
1801
1803
.layoutSet (AAChartLayoutTypeVertical)
1802
1804
.alignSet (AAChartAlignTypeLeft)
1803
1805
.xSet (@80 )
0 commit comments