Charts icon indicating copy to clipboard operation
Charts copied to clipboard

PieChartView 切片旋转如何固定中心位置旋转到指定的位置,比如固定在90度上

Open hfdz1011 opened this issue 4 years ago • 1 comments

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];
    

    }];

}

hfdz1011 avatar Oct 13 '21 10:10 hfdz1011

If you could update the issue to english then we may be able to help. I cannot understand this language. Thanks.

pmairoldi avatar May 25 '22 16:05 pmairoldi