Skip to content

Plotted elements bleed/overflow below the data area into the bottom axis margin #5225

Description

@huytran298

ScottPlot Version: 5.1.58, Net.10

Hi everyone,

I am currently using ScottPlot 5 and running into a visual rendering issue. As you can see in the attached screenshot, the plotted lines are bleeding out of the main data area and extending downwards into the bottom axis margin.

This issue occurs because my Y-axis view is set to a range higher than 0 (the bottom limit is around 100,000). It seems the plot elements are anchoring to a baseline of 0, and they are not being visually clipped at the bottom boundary of the data area.

Setting the Y-axis minimum back to 0 is not a viable workaround for me, as I need to focus on the data within the 100k - 300k range.

Has anyone encountered this clipping/overflow issue in ScottPlot 5? Is there a property to enforce clipping (like ClipToDataArea) or a specific way to handle the baseline so it doesn't overflow?

Any help or guidance would be greatly appreciated. Thanks!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions