Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VictoryHistogram InvalidNumbers ? #2907

Open
2 tasks done
michaelroevievictoria opened this issue Oct 1, 2024 · 2 comments
Open
2 tasks done

VictoryHistogram InvalidNumbers ? #2907

michaelroevievictoria opened this issue Oct 1, 2024 · 2 comments
Labels
Type: Question ❔ Asking a question or asking for help

Comments

@michaelroevievictoria
Copy link

michaelroevievictoria commented Oct 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Victory version

^37.1.1

Code Sandbox link

N/A

Bug report

Invalid Number: M50, Nan ....

Steps to reproduce

No response

Expected behavior

it should be a histogram chart  ?

Actual behavior

image

<VictoryChart>
        <VictoryHistogram data={[
          { x: 0 },
          { x: 1 },
          { x: 1 },
          { x: 2 },
          { x: 3 },
          { x: 4 },
          { x: 4 }
        ]} />
      </VictoryChart>

heres the code snippet i have

Environment

- Device: Mac 
- OS: SONOMA
- Node:v20.11.1
- npm:10.8.2
- expo dev client: sdk 50
@michaelroevievictoria michaelroevievictoria added the Type: Bug 🐛 Oh no! A bug or unintentional behavior label Oct 1, 2024
@carbonrobot
Copy link
Contributor

Here is a codesandbox of your code working. https://codesandbox.io/p/sandbox/victory-starter-forked-5qm3lv

Is there any additional details you can provide?

@carbonrobot carbonrobot added Type: Question ❔ Asking a question or asking for help and removed Type: Bug 🐛 Oh no! A bug or unintentional behavior labels Oct 1, 2024
@michaelroevievictoria
Copy link
Author

ohhh I just realize did it work also in victory-native ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question ❔ Asking a question or asking for help
Projects
None yet
Development

No branches or pull requests

2 participants