Skip to content

SignalSourceBase: GetLimitsX and GetLimitsY return min-min and not min-max. Is this intended? #4868

@dirk-de-bugger

Description

@dirk-de-bugger

Question: Is this a copy and paste error or intended? It looks wrong to me:

public CoordinateRange GetLimitsX()
{
    CoordinateRect rect = GetLimits().Rect;
    return new CoordinateRange(rect.Left, rect.Left);
}

public CoordinateRange GetLimitsY()
{
    CoordinateRect rect = GetLimits().Rect;
    return new CoordinateRange(rect.Bottom, rect.Bottom);
}

I instantiated SignalSourceDouble then called GetLimitsY and was irritated it only returned min-to-min as the range.

ScottPlot Version: Commit 828f68b

Regards,
Dirk

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