Skip to content

Plot: Create GetDataLimits() for returning X/Y limits of all plotted data #1415

@EFeru

Description

@EFeru

ScottPlot Version: 4.1.26

Operating System: W10

Application Type: WinForms

Question: I need to limit zoom out. I would like that it doesn't go beyond the AxisAuto(). I know I can implement on application side something to compute Min/Max of existing data and use SetOuterViewLimits to achieve this. However, I am wondering, wouldn't be easier and more suited to have this functionality build in into Scottplot?
It could be a flag that we can set to limit zoom out to maximum the AxisAuto() fit.

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