Skip to content

Axis label count not updated when axis is stretched #40

@trisyoungs

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.

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