发布于 2016-06-08 05:32:31
1)
请查看“您的rotationAngle属性pieCharView”。该属性的文档中写着:
/// 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因此,尝试以编程方式重新设置角度,方法如下:
self.pieChartView.rotationAngle = 180.02)
图表上有一个rotationEnabled属性,您可以将其设置为false以禁用旋转。
https://stackoverflow.com/questions/37693245
复制相似问题