ScottPlot
|
Public Member Functions | |
void | Refresh () |
Render the plot and update the image. | |
void | ShowContextMenu (Pixel position) |
Launch the default pop-up menu (typically in response to a right-click) at the given position in the control. | |
float | DetectDisplayScale () |
Determine the DPI scaling ratio of the present display. A value of 1.0 means no scaling, and 1.5 means 150% scaling. This operation may be costly so do not call it frequently. | |
void | Reset () |
Disposes the current Plot and creates a new one for the control. | |
void | Reset (Plot plot) |
Loads the given Plot into the control. | |
Properties | |
Plot | Plot [get] |
The primary Plot displayed by this interactive control. | |
IMultiplot | Multiplot [get, set] |
The multiplot managed by this interactive control. | |
Interactivity.UserInputProcessor | UserInputProcessor [get] |
This object takes in UI events and contains logic for how to respond to them. This is a newer alternative to the older Interaction system. | |
IPlotMenu? | Menu [get, set] |
Platform-specific logic for managing the context menu. | |
GRContext? | GRContext [get] |
Context for hardware-accelerated graphics (or null if not available) | |
float | DisplayScale [get, set] |
The value of the present display scaling. Mouse positions are multiplied by this value for pixel/coordinate conversions. | |
float ScottPlot.IPlotControl.DetectDisplayScale | ( | ) |
Determine the DPI scaling ratio of the present display. A value of 1.0 means no scaling, and 1.5 means 150% scaling. This operation may be costly so do not call it frequently.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
void ScottPlot.IPlotControl.Refresh | ( | ) |
Render the plot and update the image.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlot, ScottPlot.WinForms.FormsPlotGL, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlot, ScottPlot.WPF.WpfPlotBase, ScottPlot.WPF.WpfPlotGL, and ScottPlot.Testing.MockPlotControl.
void ScottPlot.IPlotControl.Reset | ( | ) |
Disposes the current Plot and creates a new one for the control.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
void ScottPlot.IPlotControl.Reset | ( | Plot | plot | ) |
Loads the given Plot into the control.
Implemented in ScottPlot.WPF.WpfPlotBase, ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, and ScottPlot.Testing.MockPlotControl.
void ScottPlot.IPlotControl.ShowContextMenu | ( | Pixel | position | ) |
Launch the default pop-up menu (typically in response to a right-click) at the given position in the control.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
|
getset |
The value of the present display scaling. Mouse positions are multiplied by this value for pixel/coordinate conversions.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
|
get |
Context for hardware-accelerated graphics (or null if not available)
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinForms.FormsPlotGL, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlot, ScottPlot.WPF.WpfPlotBase, ScottPlot.WPF.WpfPlotGL, and ScottPlot.Testing.MockPlotControl.
|
getset |
Platform-specific logic for managing the context menu.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
|
getset |
The multiplot managed by this interactive control.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
|
get |
The primary Plot displayed by this interactive control.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.
|
get |
This object takes in UI events and contains logic for how to respond to them. This is a newer alternative to the older Interaction system.
Implemented in ScottPlot.Avalonia.AvaPlot, ScottPlot.Blazor.BlazorPlotBase, ScottPlot.Eto.EtoPlot, ScottPlot.Maui.MauiPlot, ScottPlot.WinForms.FormsPlotBase, ScottPlot.WinUI.WinUIPlot, ScottPlot.WPF.WpfPlotBase, and ScottPlot.Testing.MockPlotControl.