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

functional label padding causes an error #605

Closed
boygirl opened this issue May 29, 2017 · 0 comments · Fixed by FormidableLabs/victory-core#281
Closed

functional label padding causes an error #605

boygirl opened this issue May 29, 2017 · 0 comments · Fixed by FormidableLabs/victory-core#281
Assignees
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@boygirl
Copy link
Contributor

boygirl commented May 29, 2017

"Error: attribute y: Expected length, "NaN"."

<VictoryBar
  data={state.data}
  style={{
     labels: {
        padding: (d) => {return -(d.y / 2)}
     }
  }}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant