question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gridXValues or gridYValues not a recognized prop for Bar Chart

See original GitHub issue

I’m getting a prop error when adding gridXValues and/or gridYValues. As per documentation, they are optional props and I found a closed issue where they were implemented. Has this since been removed in the latest version?

Steps to reproduce the behavior:

  1. Add gridXValues or gridYValues prop
  2. See error

Expected behavior There should be no error for prop.

Prop Error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
wyzecommented, Jul 27, 2020

Looks like the props are added to typescript definitions in the latest release (0.62.0), so we can close this.

1reaction
wyzecommented, Jun 19, 2020

@kaeland the gridXValues/gridYValues define the values where the grid lines are drawn. You will either want to use axisLeft.format or axisLeft.renderTick to change the displayed tick values for the Y axis.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reachart minPointSize props does not work when using in ...
Unfortunately this prop is not supported in stacked bar chart: ... says: "In stacked bar charts, minPointSize might not be respected for ...
Read more >
Top 5 @nivo/bar Code Examples - Snyk
Learn more about how to use @nivo/bar, based on @nivo/bar code examples created from the most popular ways it is used in public...
Read more >
nivo/bar chart grid customization - CodeSandbox
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >
Using bar charts - Amazon QuickSight - AWS Documentation
Work with the bar chart visual types in Amazon QuickSight. ... In that case, you can only focus on a bar, not exclude...
Read more >
Bar Chart Visualization - Qualtrics
In general, Bar Charts are incompatible with open text content that is not numeric. Qtip: Be careful with numeric data collected from open-ended...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found