{"_id":"@blueleafwealth/react-native-gifted-charts","_rev":"2-c87100852e0479cd7bafdba0c6f7ccf6","name":"@blueleafwealth/react-native-gifted-charts","dist-tags":{"latest":"1.4.70-blueleaf.2"},"versions":{"1.4.70-blueleaf.1":{"name":"@blueleafwealth/react-native-gifted-charts","version":"1.4.70-blueleaf.1","keywords":["chart","charts","graph","data visualization","bar","pie","donut","area","line","radar","star","population","pyramid","react","react native","react-native"],"author":{"url":"forked from Abhinandan Kushwaha <kushabhi5@gmail.com>","name":"Blueleaf","email":"kushabhi5@gmail.com"},"license":"MIT","_id":"@blueleafwealth/react-native-gifted-charts@1.4.70-blueleaf.1","maintainers":[{"name":"jprendergast","email":"john@blueleaf.com"}],"homepage":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts","bugs":{"url":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts/issues"},"dist":{"shasum":"9993eac06eedf88bcff78ce95a34a33c82a4aa6f","tarball":"https://registry.npmjs.org/@blueleafwealth/react-native-gifted-charts/-/react-native-gifted-charts-1.4.70-blueleaf.1.tgz","fileCount":68,"integrity":"sha512-mWlBbTlQCSREGqD2id5MI/vVlL6Vtud+xrIxuu2NT45hQM1fHwaLvSY7FSQrveGvo0DpfMUqgkMKrzlR28cqsA==","signatures":[{"sig":"MEYCIQC+6k87ykb39yCruuamXkx7uHQjztH67f2CSigo8yi5XAIhAKyLBm5IcMjk2u6v0X9vmFaKR1M7XrQwINkFN696hXvQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":363877},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"b82dbc2f8df0f285d7300ca07c1166645f59b9c8","scripts":{"ios":"react-native run-ios","lint":"eslint .","test":"jest","build":"rm -rf ./dist && tsc -p . && ./build.sh","start":"react-native start","android":"react-native run-android","prepare":"npm run build"},"_npmUser":{"name":"jprendergast","email":"john@blueleaf.com"},"repository":{"url":"git+https://github.com/Blueleaf/blueleaf-react-native-gifted-charts.git","type":"git"},"_npmVersion":"10.9.2","description":"Blueleaf fork of react-native-gifted-charts with custom enhancements for waterfall charts. The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar, Population Pyramid and Radar charts in React Native. Allows 2D, 3D, gradient, animations and","directories":{},"_nodeVersion":"22.17.0","dependencies":{"gifted-charts-core":"0.1.72"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","react":"^18.2.0","eslint":"^9.8.0","ts-jest":"^29.2.3","@babel/cli":"^7.24.8","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/react":"^18.3.3","react-native":"^0.74.3","@babel/runtime":"^7.25.0","@types/react-dom":"^18.3.0","react-native-svg":"^15.4.0","react-test-renderer":"18.2.0","@react-native/metro-config":"^0.74.85","react-native-linear-gradient":"^2.8.3","metro-react-native-babel-preset":"^0.77.0","@react-native-community/eslint-config":"^3.2.0"},"peerDependencies":{"react":"*","react-native":"*","react-native-svg":"*","expo-linear-gradient":"*","react-native-linear-gradient":"*"},"peerDependenciesMeta":{"expo-linear-gradient":{"optional":true},"react-native-linear-gradient":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-native-gifted-charts_1.4.70-blueleaf.1_1766064953979_0.14821355606325137","host":"s3://npm-registry-packages-npm-production"}},"1.4.70-blueleaf.2":{"name":"@blueleafwealth/react-native-gifted-charts","version":"1.4.70-blueleaf.2","description":"Blueleaf fork of react-native-gifted-charts with custom enhancements for waterfall charts. The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar, Population Pyramid and Radar charts in React Native. Allows 2D, 3D, gradient, animations and","main":"dist/index.js","scripts":{"android":"react-native run-android","build":"rm -rf ./dist && tsc -p . && ./build.sh","prepare":"npm run build","ios":"react-native run-ios","start":"react-native start","test":"jest","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/Blueleaf/blueleaf-react-native-gifted-charts.git"},"author":{"name":"Blueleaf","email":"kushabhi5@gmail.com","url":"forked from Abhinandan Kushwaha <kushabhi5@gmail.com>"},"license":"MIT","bugs":{"url":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts/issues"},"homepage":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts","publishConfig":{"registry":"https://registry.npmjs.org/"},"dependencies":{"gifted-charts-core":"0.1.72"},"devDependencies":{"@babel/cli":"^7.24.8","@babel/core":"^7.24.9","@babel/runtime":"^7.25.0","@react-native-community/eslint-config":"^3.2.0","@react-native/metro-config":"^0.74.85","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","babel-jest":"^29.7.0","eslint":"^9.8.0","jest":"^29.7.0","metro-react-native-babel-preset":"^0.77.0","react":"^18.2.0","react-native":"^0.74.3","react-native-linear-gradient":"^2.8.3","react-native-svg":"^15.4.0","react-test-renderer":"18.2.0","ts-jest":"^29.2.3","typescript":"^5.5.4"},"peerDependencies":{"expo-linear-gradient":"*","react":"*","react-native":"*","react-native-linear-gradient":"*","react-native-svg":"*"},"peerDependenciesMeta":{"react-native-linear-gradient":{"optional":true},"expo-linear-gradient":{"optional":true}},"keywords":["chart","charts","graph","data visualization","bar","pie","donut","area","line","radar","star","population","pyramid","react","react native","react-native"],"_id":"@blueleafwealth/react-native-gifted-charts@1.4.70-blueleaf.2","gitHead":"b82dbc2f8df0f285d7300ca07c1166645f59b9c8","types":"./dist/index.d.ts","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-gT0xczM4nyvUJ+4H16RRwNsk54GugYpbRGQ1jOoik2URldPvn2ctro7MqKERv8HM8SC4VZpqs7X6qZ5mgjCLkA==","shasum":"f79f2c3d26b99d9ad6d3a9b2321da6ff18a63ba8","tarball":"https://registry.npmjs.org/@blueleafwealth/react-native-gifted-charts/-/react-native-gifted-charts-1.4.70-blueleaf.2.tgz","fileCount":68,"unpackedSize":365362,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBQTZEYyFPnteg0KycfMtR7W8qkwyTF2+YCRwlRMn8HCAiBoEN6dur+DZGao036/LD8TUf0dOSormHnrzq0/KUehww=="}]},"_npmUser":{"name":"jprendergast","email":"john@blueleaf.com"},"directories":{},"maintainers":[{"name":"jprendergast","email":"john@blueleaf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-gifted-charts_1.4.70-blueleaf.2_1767967654946_0.5460332502435525"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-18T13:35:53.848Z","modified":"2026-01-09T14:07:35.323Z","1.4.70-blueleaf.1":"2025-12-18T13:35:54.116Z","1.4.70-blueleaf.2":"2026-01-09T14:07:35.093Z"},"bugs":{"url":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts/issues"},"author":{"name":"Blueleaf","email":"kushabhi5@gmail.com","url":"forked from Abhinandan Kushwaha <kushabhi5@gmail.com>"},"license":"MIT","homepage":"https://github.com/Blueleaf/blueleaf-react-native-gifted-charts","keywords":["chart","charts","graph","data visualization","bar","pie","donut","area","line","radar","star","population","pyramid","react","react native","react-native"],"repository":{"type":"git","url":"git+https://github.com/Blueleaf/blueleaf-react-native-gifted-charts.git"},"description":"Blueleaf fork of react-native-gifted-charts with custom enhancements for waterfall charts. The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar, Population Pyramid and Radar charts in React Native. Allows 2D, 3D, gradient, animations and","maintainers":[{"name":"jprendergast","email":"john@blueleaf.com"}],"readme":"# react-native-gifted-charts\n\n<p align=\"center\">\n  <a href=\"https://gifted-charts.web.app\">\n    <img src=\"/demos/favicon.png\" height=\"auto\" width=\"26\" height=\"26\" />\n  </a> &nbsp; &nbsp; &nbsp;\n  <a href=\"https://www.npmjs.com/package/react-native-gifted-charts\">\n    <img src=\"/demos/npmIcon.png\" height=\"auto\" width=\"28\" height=\"28\" />\n  </a> &nbsp; &nbsp; &nbsp;\n  <a href=\"https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts\">\n    <img src=\"/demos/gitLogo.png\" height=\"auto\" width=\"28\" height=\"28\" />\n  </a> &nbsp; &nbsp; &nbsp;\n  <a href=\"https://stackoverflow.com/questions/tagged/react-native-gifted-charts?tab=Newest\">\n    <img src=\"/demos/stackOverflow.png\" height=\"auto\" width=\"28\" height=\"28\" />\n  </a> &nbsp; &nbsp; &nbsp;\n  <a href=\"https://discord.gg/FBbu9duJxs\">\n    <img src=\"/demos/discord.png\" height=\"auto\" width=\"30\" height=\"30\" />\n  </a> &nbsp; &nbsp; &nbsp;\n  <a href=\"https://www.reddit.com/r/gifted_charts/\">\n    <img src=\"/demos/redditLogo.png\" height=\"auto\" width=\"32\" height=\"32\" />\n  </a>\n</p>\nThe most loved library for Bar, Line, Area, Pie, Donut, Stacked Bar, Population Pyramid and Radar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.\n\n### Yet another chart library? Why?\n\n**_To bring Life to your data_**\n\n- Plenty of features with minimal code\n- Apply animations to your charts on load and on value change, just by adding a prop\n- Smooth animations implemented using the `Animated` API (no external library used for animations)\n- Clickable and scrollable\n- Three-D and gradient effects\n- Fully customizable (see the [props](docs/docs.md))\n- Detailed [documentation](https://gifted-charts.web.app/) with examples\n- Support for **_combined_** Bar and Line charts\n- Tested to be pixel perfect using [react-native-screenshot-test](https://www.npmjs.com/package/react-native-screenshot-test). See [the screenshot tests here](https://abhinandan-kushwaha.github.io/TestingCharts/ss-test/test.html)\n- Detailed and illustrated [dev docs](docs/dev/index.md) that explain the architecture and working of the library\n\nThe web counterpart of this library is public now. Try out our new reactJS library- [react-gifted-charts](https://www.npmjs.com/package/react-gifted-charts) <br />\nThe exact same piece of code that you write to render charts in react-native, can be used to render charts in reactJS using this library!\n\n## [Release notes (Changelog) 🎉](release-notes/release-notes.md)\n\nSee the **[release changes by version here.](release-notes/release-notes.md)**\n\n<img src='/demos/bars.png' alt=''/>\n<img src='/demos/lineArea.png' alt=''/>\n<img src='/demos/blues.png' alt=''/>\n<table>\n  <tr>\n    <td><img src='/demos/scrollLine.gif' alt='' width=320 height=280/></td>\n    <td><img src='/demos/animatedDataLine.gif' alt='' width=320 height=260/></td>\n  </tr>\n  \n  <tr>\n    <td><img src='/demos/crossHair.gif' alt='' height=280 /></td>\n    <td><img src='/demos/movingBars.gif' alt='' width=270 height=300/></td>\n  <tr>\n    <td><img src='/demos/radar.png' alt='' height=280 width=320/></td>\n    <td><img src='/demos/ppnLabelled.png' alt='' height=280 width=300/></td>\n  </tr>\n</table>\n<img src='/demos/pieExt.png' alt='' height=280 />\n\n---\n\n## Installation\n\n### React Native CLI\n\n```sh\nnpm install react-native-gifted-charts react-native-linear-gradient react-native-svg\n```\n\n### Expo\n\n```sh\nnpx expo install react-native-gifted-charts expo-linear-gradient react-native-svg\n```\n\nPlease note that `react-native-svg` and `react-native-linear-gradient`/`expo-linear-gradient` are needed for the library to work, so make sure they are installed in your project. <br />\n**[gifted-charts-core](https://www.npmjs.com/package/gifted-charts-core)** contains the mathematical and logical utilities used by this library.\n\n# 📚 Docs & Demos 🎦\n\n- [Documentation and gallery](https://gifted-charts.web.app/) <br />\n- [Architecture and working (dev docs)](docs/dev/index.md)\n- [Demo repo and snacks list](https://github.com/Abhinandan-Kushwaha/GiftedChartsDemo?tab=readme-ov-file#gifted-charts-demo)\n- [Demo app on Play Store](https://play.google.com/store/apps/details?id=com.giftedcharts.demo)\n\n## Usage\n\nThe simplest usage of various types of charts can be done as below-\n\n```js\nimport { BarChart, LineChart, PieChart, PopulationPyramid, RadarChart } from \"react-native-gifted-charts\";\n\n// ...\nconst data=[ {value:50}, {value:80}, {value:90}, {value:70} ]\n\n<BarChart data = {data} />\n<LineChart data = {data} />\n<PieChart data = {data} />\n<PopulationPyramid data = {[{left:10,right:12}, {left:9,right:8}]} />\n<RadarChart data = {[50, 80, 90, 70]} />\n\n// For Horizontal Bar chart, just add the prop horizontal to the <BarChart/> component\n\n<BarChart data = {data} horizontal />\n\n// For Area chart, just add the prop areaChart to the <LineChart/> component\n\n<LineChart data = {data} areaChart />\n\n// For Donut chart, just add the prop donut to the <PieChart/> component\n\n<PieChart data = {data} donut />\n```\n\n## Props tables\n\n**1. [BarChart, Horizontal BarChart and Stacked Bar Chart props](docs/BarChart/BarChartProps.md)** \\\n**2. [LineChart and AreaChart props](docs/LineChart/LineChartProps.md)** \\\n**3. [PieChart and DonutChart props](docs/PieChart/PieChartProps.md)** \\\n**4. [Population Pyramid props](docs/PopulationPyramid/PopulationPyramid.md)** \\\n**5. [RadarChart props](docs/RadarChart/RadarChartProps.md)**\n\n## 🤝 Contributing\n\nThis project exists thanks to all the people who contribute.\n\n<a href=\"https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=Abhinandan-Kushwaha/react-native-gifted-charts\" />\n</a>\n<br/><br/>\n\n_Dear developers_! Your small contribution can make someone's day 😊\n\nOne of the ways you can contribute is to address an [open issue](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues).\n\nSometimes people report issues which don't exist, or request for features which are already present. Such issues can be addressed without pushing any code to the repo. Just show them in the comments how to do it.\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n📝 [To do list](./src/todos.md)\n\n## 🧐 Test cases\n\n- Test strategy and cases are discussed here- [TESTS.md](./TESTS.md) <br />\n- Pixel perfection is assured using [react-native-screenshot-test](https://www.npmjs.com/package/react-native-screenshot-test). <br/>\n- 290+ screenshot tests have been written. See the [Reports here](https://abhinandan-kushwaha.github.io/TestingCharts/ss-test/test.html).\n- Screenshot tests are written in a separate repo named [TestingCharts](https://github.com/Abhinandan-Kushwaha/TestingCharts)\n\n## 🏆 Showcase\n\nShowcase your dashing charts on [Expo snack](https://snack.expo.dev/) and list them on the [Demo app repo](https://github.com/Abhinandan-Kushwaha/GiftedChartsDemo?tab=readme-ov-file#gifted-charts-demo).<br />\nYour snack might get published in the [Demo app on Play Store!](https://play.google.com/store/apps/details?id=com.giftedcharts.demo)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}