Skip to content

Axis span: ensure rendered rectangle is at least 1px wide #3968

@swharden

Description

@swharden

If spans are rendered as <1px they may become invisible.

Add logic so the minimum rendered axis span is always at least 1 px in size.

Lines of code to modify are here:

PixelRangeY vert = new(Axes.GetPixelY(Bottom), Axes.GetPixelY(Top));

PixelRangeX horiz = new(Axes.GetPixelX(Left), Axes.GetPixelX(Right));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueThis issue has limited complexity and may be a good start for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions