You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// same props, different component<PieChartProdonutinitialAngle={-Math.PI*2}centerLabelComponent={innerLabel}innerRadius={80}innerCircleColor={Colors.BACKGROUND_PRIMARY}radius={wp(25)}data={pieData}/>
Note the differences:
Initial angle does not work on Pro component
Pie data is reversed in Pro (Pie values grow counter clock-wise)
I have solved these issues in use with the below solutions:
Not using the Pro component - it has issues with animated input values for in pieData => Smoother to rerender pie
Using Array.reverse()
The text was updated successfully, but these errors were encountered:
and component are said to have same props
yet in fact they do not. See below:
Case Pie Chart default component
Case Pie Chart PRO component
Note the differences:
I have solved these issues in use with the below solutions:
The text was updated successfully, but these errors were encountered: