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.

[v2.0] [Bug] X-axis tick labels missing when resizing/rotating screen

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Wrap any charts (e.g. LineChart) inside ResponsiveContainer
  2. Use screen size emulation of the browsers. (e.g. set it to iPad Pro)
  3. Rotate the screen

What is expected?

The x-axis will re-render and recalculate the tick labels when the screen is rotated

What is actually happening?

The tick labels are simply gone after rotating the screen

Environment Info
Recharts v2.0.0-beta.1
React 16.12.0
System Windows 10
Browser Firefox, Chrome, codesandbox

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
xile611commented, Mar 13, 2020

Everything works well in v2.0.0-beta.2. Please try the latest version

0reactions
aburycommented, Mar 1, 2020

Seeing this as well. Haven’t been able to find any workarounds. Wonder if providing a custom ticker render would help?

Read more comments on GitHub >

github_iconTop Results From Across the Web

r - Changing x-axis tick labels ggplot2 not working, making ...
I'm trying to change the x-axis tick labels in ggplot but I can't get it to work for some reason. I have the...
Read more >
Set or query x-axis tick labels - MATLAB xticklabels - MathWorks
Create a line plot. Display tick marks along the x-axis at the values 0, 5, and 10. Then specify a label for each...
Read more >
Export high resolution figure causes missing ticks
The distance between the tick mark labels and the frame gets smaller when you increase ImageSize and there is no proper way to...
Read more >
BUG: APEX 20.1.0.00.13: Charts missing axis labels when ...
To keep the time axis labels clear while fitting the chart region into 2 layout columns, the X axis is configured to display...
Read more >
How to Hide Axis Text Ticks or Tick Labels in Matplotlib?
Axes: The X-axis and Y-axis are referred to as axis labels. ... a type of tick locator that makes the axis ticks and...
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