iOS图表中的PieChart可以从不同于上止点的起始角度绘制吗?

iOS图表中的PieChart可以从不同于上止点的起始角度绘制吗?,ios,ios-charts,Ios,Ios Charts,从上止点(90度科学)开始绘制图库中的饼图,并顺时针绘制饼图的下一部分。可以从不同的角度开始吗 用户还可以在屏幕上旋转图表,如何禁用该功能?1) 查看pieCharView的“rotationAngle属性。该属性的文档说明: /// current rotation angle of the pie chart /// /// **default**: 270 --> top (NORTH) /// - returns: will always return a normalized v

从上止点(90度科学)开始绘制图库中的饼图,并顺时针绘制饼图的下一部分。可以从不同的角度开始吗

用户还可以在屏幕上旋转图表,如何禁用该功能?

1)

查看pieCharView的“
rotationAngle
属性。该属性的文档说明:

/// current rotation angle of the pie chart
///
/// **default**: 270 --> top (NORTH)
/// - returns: will always return a normalized value, which will be between 0.0 < 360.0
(二)


图表上有一个
rotationEnabled
属性,您可以将其设置为
false
以禁用旋转。

真不敢相信我错过了这些。一定是啤酒或咖啡……或者两者兼而有之?
    self.pieChartView.rotationAngle = 180.0