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

Component | Axis: Hiding overlapping tick labels #466

Merged
merged 6 commits into from
Oct 31, 2024

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    3cd554f View commit details
    Browse the repository at this point in the history
  2. Component | Axis: Implement tick label collision detection

    - Adding `tickTextHideOverlapping` config option to Axis component and implementing collision detection algorithm to hide overlapping tick labels
    - Configurable `minMaxTicksOnlyWhenWidthIsLess` property (was hard coded before)
    rokotyan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    95d1789 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96932e8 View commit details
    Browse the repository at this point in the history
  4. Container | XYContainer | Auto Margin: Set scales before updating domain

    Fixes the problem with axis tick labels going off screen because the auto margins were not calculated properly.
    
    It was happening when a different scale (e.g. Scale.scaleTime()) is provided to the container (and it generates ticks differently from the default scale), because this new scale was not passed to the Axis component during pre-render
    rokotyan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    b401dea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de26885 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    9a852f2 View commit details
    Browse the repository at this point in the history