Giter Site home page Giter Site logo

Comments (9)

c0mm4nDer avatar c0mm4nDer commented on May 2, 2024 8

I found the solution to this problem.
1: Comment import 'babel-polyfill' from first line of react-native-chart-kit index.js

2: Install react-native-svg

Edit:
Also for pieChart, must added import 'babel-polyfill'; into pie-chart.js

from react-native-chart-kit.

rodrigo-weigert avatar rodrigo-weigert commented on May 2, 2024

Same here. Looks like importing anything from react-native-chart-kit is enough to cause the error.

from react-native-chart-kit.

pavlo-kravchenko avatar pavlo-kravchenko commented on May 2, 2024

Same here. Looks like importing anything from react-native-chart-kit is enough to cause the error.

Yes
The project starts if delete this:

import {
    LineChart,
    BarChart,
    PieChart,
    ProgressChart,
    ContributionGraph
} from 'react-native-chart-kit'

from react-native-chart-kit.

minzarddillah avatar minzarddillah commented on May 2, 2024

same here, please fix this

from react-native-chart-kit.

Hatestorm avatar Hatestorm commented on May 2, 2024

+1

from react-native-chart-kit.

lunadis avatar lunadis commented on May 2, 2024

+1

from react-native-chart-kit.

oakfire avatar oakfire commented on May 2, 2024

Same with:
react-native 0.57.4
react-native-svg 8.0.8
react-native-chart-kit 1.1.9

from react-native-chart-kit.

noluckjustskill avatar noluckjustskill commented on May 2, 2024

I found the solution to this problem.
1: Comment import 'babel-polyfill' from first line of react-native-chart-kit index.js

2: Install react-native-svg

Edit:
Also for pieChart, must added import 'babel-polyfill'; into pie-chart.js

Worked! Thank you!

from react-native-chart-kit.

JuanCamilo0809 avatar JuanCamilo0809 commented on May 2, 2024

I found the solution to this problem.
1: Comment import 'babel-polyfill' from first line of react-native-chart-kit index.js

2: Install react-native-svg

Edit:
Also for pieChart, must added import 'babel-polyfill'; into pie-chart.js

Perfect!!! Thank you!!

from react-native-chart-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.