Skip to content

Ticks: do not hide minor ticks when major ticks are off the screen #1420

@swharden

Description

@swharden

As reported by @at2software, minor ticks are being hidden if there are not at least 2 major ticks present. This causes minor ticks to appear and disappear when zoomed-in to manual or custom major ticks.

minor-tick

if ((majorTicks == null) || (majorTicks.Length < 2))
return null;

if ((majorTicks == null) || (majorTicks.Length < 2))
return null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions