Code Monkey home page Code Monkey logo

Comments (11)

Abhinandan-Kushwaha avatar Abhinandan-Kushwaha commented on September 26, 2024 1

@bhavesh-trentium
For me your code produces the below output, the grid lines are rendered properly-

Screenshot 2024-08-23 at 9 50 35 PM

from react-native-gifted-charts.

Abhinandan-Kushwaha avatar Abhinandan-Kushwaha commented on September 26, 2024

Hi @skfaisal93 👋
I am unable to reproduce this bug. Can you please check once again in the latest version of the library?
The current latest version is 1.4.19.

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

@Abhinandan-Kushwaha Same Issue with me.

  • "gifted-charts-core": "^0.1.30",
  • "react-native-gifted-charts": "^1.4.29",
  • "react": "18.2.0",
  • "react-dom": "18.2.0",
  • "expo": "^49.0.21",

code:

                 const  data={[
                        {
                          value: 15,
                          label: 'Jan',
                          frontColor: '#d51717',
                          barBorderColor: '#808080',
                          barWidth: 20,
                          barBorderRadius: 4,
                          barBorderWidth: 1,
                          spacing: 20,
                        },
                        {
                          value: 40,
                          label: 'Feb',
                          frontColor: '#79d517',
                          barBorderColor: '#ff0000',
                          barWidth: 20,
                          barBorderRadius: 4,
                          barBorderWidth: 1,
                          spacing: 20,
                        },
                        {
                          value: 10,
                          label: 'Mar',
                          frontColor: '#d55617',
                          barBorderColor: '#5800e6',
                          barWidth: 20,
                          barBorderRadius: 4,
                          barBorderWidth: 1,
                          spacing: 20,
                        },
                      ]}
              <BarChart
                  data={data}
                 width={Dimensions.get('window').width - 120}
                height={300}
                dashGap={0}
                 showVerticalLines={true}/>

Screenshot 2024-08-23 142351

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

@Abhinandan-Kushwaha Can you check above i have package version and you have version is same?

from react-native-gifted-charts.

Abhinandan-Kushwaha avatar Abhinandan-Kushwaha commented on September 26, 2024

Yes @bhavesh-trentium I tested on the same versions which you have. Did you run it on Android or iOS or web?

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

@Abhinandan-Kushwaha I run on the Web.

from react-native-gifted-charts.

Abhinandan-Kushwaha avatar Abhinandan-Kushwaha commented on September 26, 2024

For web, use the react-gifted-charts library.

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

@Abhinandan-Kushwaha I used this: react-gifted-charts library. But Fetching Some Issues Check this one: https://github.com/Abhinandan-Kushwaha/react-gifted-charts/issues/4

from react-native-gifted-charts.

Abhinandan-Kushwaha avatar Abhinandan-Kushwaha commented on September 26, 2024

Hi @bhavesh-trentium
react-gifted-charts does not work in React-Native projects. It works in ReactJS projects only.

I will make the fix for issues you are facing on web using react-native-gifted-charts.

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

@Abhinandan-Kushwaha Okay, thanks. You fix that and let me know.

from react-native-gifted-charts.

bhavesh-trentium avatar bhavesh-trentium commented on September 26, 2024

Hi @bhavesh-trentium react-gifted-charts does not work in React-Native projects. It works in ReactJS projects only.

I will make the fix for issues you are facing on web using react-native-gifted-charts.

@Abhinandan-Kushwaha Have you fixed this?

from react-native-gifted-charts.

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.