Charts
Charts copied to clipboard
PieChartView 切片旋转如何固定中心位置旋转到指定的位置,比如固定在90度上
PieChartView 切片旋转如何固定中心位置旋转到指定的位置,比如固定在90度上
-
(void)chartValueSelected:(ChartViewBase * __nonnull)chartView entry:(ChartDataEntry * __nonnull)entry highlight:(ChartHighlight * __nonnull)highlight {
[UIView animateWithDuration:0.2 animations:^{
[_chartView spinWithDuration:0.15 fromAngle:_chartView.rotationAngle toAngle:_chartView.rotationAngle+?(角度) easingOption:ChartEasingOptionEaseInCubic];}];
}
If you could update the issue to english then we may be able to help. I cannot understand this language. Thanks.