Skip to content

simplify FormsPlotViewer and launch in center of screen #378

@swharden

Description

@swharden

If ScottPlot.WinForms is installed let's make it easier to launch an interactive window from inside a console application. Can it add an extension method to the Plot object?

new ScottPlot.FormsPlotViewer(plt).ShowDialog();

note: This works fine in .NET Core, but if I target .NET Framework I have to add a reference to System_Windows_Forms 2.0

Also let's make it open in the center of the screen.

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