JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q54499F
  • License ISC

An Animated and dynamic donut chart with 2 modes : Semi circular or Full circle. using react-native-svg and react hooks.

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:

Screenshot of a semi circular donut chart:

Full circular donut chart:

Screenshot of a 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)