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.

yaxis logarithmic chart shifts down

See original GitHub issue

Bug report

Codepen

Here is codesandbox

Explanation

I’m using logarithmic react-apexcharts chart, and in some cases the chart is “shifting” a little bit down and messes the UI. It seems like when the numbers in the yAxis are big, the issue does not occure. Also, when yaxis.logarithmic is false the issue does not occure.

image

I also posted an issue in react-apexcharts repo

apexcharts version: 3.22.2 react-apexcharts version: 1.3.7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
junedchhipacommented, Dec 8, 2020

Yes, yaxis.min in a log scale was causing issues, hence it was removed.

1reaction
junedchhipacommented, Dec 7, 2020

Does upgrading to version 3.22.3 fixes the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alignment of Y-axis for Logarithmic Scale - Microsoft Community
Due to the change in scale, the y-axis has been aligned placed off-center of the middle of the graph cutting through the plot....
Read more >
Logarithmic X-axis in Excel puts axis numbers in wrong ...
When I format the x-axis to use a logarithmic scale, the y-axis is displayed on the right side of the graph instead of...
Read more >
Stretching, Compressing, or Reflecting a Logarithmic ...
Graph stretches and compressions of logarithmic functions. ... When the input is multiplied by –1, the result is a reflection about the y-axis....
Read more >
Net Chart Logarithmic Axis Scaling, unexpected scaling issues
Playing around with scale view, but this runs into the save x-Axis scaling issue; Trying to play with the interval-offset **I'm not sure...
Read more >
Logarithmic Scale Moves X-axis to Top of Graph - Mr. Excel
That's the data I'm working with - can't figure out why the x-axis moves to the top. Have tried to change the formatting...
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