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

[Bug]: Secondary Y-scale on charts has bad spacing and overlays with chart data #33329

Open
2 tasks done
krislander opened this issue Nov 22, 2024 · 1 comment
Open
2 tasks done

Comments

@krislander
Copy link

Charting Control

VerticalBarChart

Package version

5.23.12

React version

18.3.1

Environment

System:
    OS: Windows 10 10.0.20348
    CPU: (8) x64 AMD EPYC 7763 64-Core Processor
    Memory: 29.78 GB / 64.00 GB
  Browsers:
    Edge: Chromium (131.0.2903.51)
    Internet Explorer: 11.0.20348.2520
  npmPackages:
    react: ^18.3.1 => 18.3.1
    react-dom: ^18.3.1 => 18.3.1

Current Behavior

Image

Expected Behavior

Secondary Y scale needs to behave like Primary Y-scale. On the current example chart, Total Revenue on the left has good spacing on both sides (from title and towards chart data. The Growth y-axis should have the same behaviour.

Image

Reproduction

https://stackblitz.com/edit/vitejs-vite-e6mvhk?file=src%2FVerticalBarChart.tsx

Steps to reproduce

Visualize a Vertical Bar chart and take a look at the secondary y-axis on the right

Are you reporting an Accessibility issue?

None

Suggested severity

High - No workaround

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@sopranopillow
Copy link
Contributor

assigning to @AtishayMsft as one of the owners of charting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants