Skip to content

Axis label count not updated when axis is stretched #40

Description

@trisyoungs

Resizing the widget scales the positions of axis labels as it should, but results in overlap of adjacent labels when the axis bar extent drops below some value. To solve this, tick marks should be updated on resize.

There is probably a nicer way than doing this at every resize event. For instance, the width extent of each text primitive could be stored (if it isn't a;ready) and checked for overlap with its neighbours. If an overlap is detected, the tick labels can then be regenerated.

Activity

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 working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions