Skip to content

Volume Chart Labels Cut Off #127

Open

Description

@SRuss76

Describe the bug
When the volume gets high for a stock, usually when looking at the 5D or 1M charts, the y-axis label gets so long that it gets cut off by the sidebar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "Stock & Fund" page.
  2. Search for a relatively common stock. (NVDA, IBM, TSLA, AMZN, etc)
  3. Click on the 1M chart.
  4. See that the volume labels do not include the higher place digits. Can be seen when looking at the actual values of soem of the volume bars.

Expected behavior
Either the volume chart needs to shift left to make room, or the volume labels should be at an angle to fit.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Browser Version: 124.0.6367.60

Activity

  1. jeffreywallphd commented on Apr 20, 2024

    @jeffreywallphd
    Owner

    Created slanted chart numbers on the y-axis and added margin-left to the chart container. Although this helps, the numbers are still cut off for multi-year charts. May need to calculate volume in millions if the max volume is greater than 1 million. The chart will need to display this, such as text under the volume bar chart.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions