Package Exports
- rn-animated-donut-chart
- rn-animated-donut-chart/donut-chart/donut-chart.tsx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rn-animated-donut-chart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
RN-Animated-Donut-Chart is a dynamic donut chart with an infinit numbers of categories and can be used as a half and full donut chart.
It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks including React , Vue , Svelte , and Angular . You can use RN-Animated-Donut-Chart directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.
Semi circular donut chart:
Full circular donut chart:
Dataset Properties
Name | Type | Default |
---|---|---|
precentegs | Precentage[] | [] |
radius | number | 200 |
strokeWidth | number | 150 |
duration | number | 500 |
backColor | string | "tomato" |
textColor | string | "black" |
strokeLinecap | string | "none" |
rotation | number | 180 |
isCemiCircle | boolean | true |
isShowDescription | boolean | false |
isShowTotalValue | boolean | true |
totalValueStyle | TextStyle | null |
textDescriptionStyle | TextStyle | null |
valueDescriptionStyle | TextStyle | null |
dotDescriptionStyle | TextStyle | null |
easing | any | Easing.out(Easing.ease) |