@@ -1267,36 +1267,6 @@ - (AAChartModel *)configureColorfulDataLabelsStepLineChart {
12671267 ]);
12681268}
12691269
1270-
1271- // Refer to https://api.highcharts.com.cn/highcharts#plotOptions.spline.marker.states.hover.enabled
1272- - (AAChartModel *)disableSplineChartMarkerHoverEffect {
1273- return AAChartModel.new
1274- .chartTypeSet (AAChartTypeSpline)
1275- .titleSet (@" Disable Spline Chart Marker Hover Effect" )
1276- .categoriesSet (@[
1277- @" 一月" , @" 二月" , @" 三月" , @" 四月" , @" 五月" , @" 六月" ,
1278- @" 七月" , @" 八月" , @" 九月" , @" 十月" , @" 十一月" , @" 十二月"
1279- ])
1280- .markerRadiusSet (@0 )// marker点半径为0个像素
1281- .yAxisLineWidthSet (@0 )
1282- .yAxisGridLineWidthSet (@0 )
1283- .legendEnabledSet (false )
1284- .seriesSet (@[
1285- AASeriesElement.new
1286- .nameSet (@" Tokyo Hot" )
1287- .lineWidthSet (@5.0 )
1288- .colorSet (@" rgba(220,20,60,1)" )// 猩红色, alpha 透明度 1
1289- .markerSet (AAMarker.new
1290- .statesSet (AAMarkerStates.new
1291- .hoverSet (AAMarkerHover.new
1292- .enabledSet (false )
1293- )
1294- )
1295- )
1296- .dataSet (@[@7.0 , @6.9 , @2.5 , @14.5 , @18.2 , @21.5 , @5.2 , @26.5 , @23.3 , @45.3 , @13.9 , @9.6 ]),
1297- ]);
1298- }
1299-
13001270// GitHub issue https://github.com/AAChartModel/AAChartKit-Swift/issues/223
13011271- (AAChartModel *)configureColorfulGradientColorAndColorfulDataLabelsStepAreaChart {
13021272 NSArray *blueStopsArr = @[
@@ -1395,5 +1365,34 @@ - (AAChartModel *)configureColorfulGradientColorAndColorfulDataLabelsStepAreaCha
13951365 ]);
13961366}
13971367
1368+ // Refer to https://api.highcharts.com.cn/highcharts#plotOptions.spline.marker.states.hover.enabled
1369+ - (AAChartModel *)disableSplineChartMarkerHoverEffect {
1370+ return AAChartModel.new
1371+ .chartTypeSet (AAChartTypeSpline)
1372+ .titleSet (@" Disable Spline Chart Marker Hover Effect" )
1373+ .categoriesSet (@[
1374+ @" 一月" , @" 二月" , @" 三月" , @" 四月" , @" 五月" , @" 六月" ,
1375+ @" 七月" , @" 八月" , @" 九月" , @" 十月" , @" 十一月" , @" 十二月"
1376+ ])
1377+ .markerRadiusSet (@0 )// marker点半径为0个像素
1378+ .yAxisLineWidthSet (@0 )
1379+ .yAxisGridLineWidthSet (@0 )
1380+ .legendEnabledSet (false )
1381+ .seriesSet (@[
1382+ AASeriesElement.new
1383+ .nameSet (@" Tokyo Hot" )
1384+ .lineWidthSet (@5.0 )
1385+ .colorSet (@" rgba(220,20,60,1)" )// 猩红色, alpha 透明度 1
1386+ .markerSet (AAMarker.new
1387+ .statesSet (AAMarkerStates.new
1388+ .hoverSet (AAMarkerHover.new
1389+ .enabledSet (false )
1390+ )
1391+ )
1392+ )
1393+ .dataSet (@[@7.0 , @6.9 , @2.5 , @14.5 , @18.2 , @21.5 , @5.2 , @26.5 , @23.3 , @45.3 , @13.9 , @9.6 ]),
1394+ ]);
1395+ }
1396+
13981397@end
13991398
0 commit comments