You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI, here's how it can be done using the existing API:
usingScottPlot;usingScottPlot.WinForms;namespaceSandbox.WinForms;publicpartialclassForm1:Form{publicForm1(){InitializeComponent();formsPlot1.Plot.Add.Signal(Generate.Sin());formsPlot1.Plot.Add.Signal(Generate.Cos());formsPlot1.Menu.Add("Open in New Window",OpenInNewWindow);}voidOpenInNewWindow(IPlotControlctrl){FormsPlotfp=new(){Dock=DockStyle.Fill};fp.Reset(ctrl.Plot);Formform=new();form.Controls.Add(fp);form.ShowDialog();}}
I don't recall whether the avalonia control already has a standalone plot viewer. Are you interested in implementing this and creating a PR? I can merge it in quickly and plan to release a new package by the end of the weekend 🚀
The text was updated successfully, but these errors were encountered: