ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.WinForms.FormsPlot Class Reference
Inheritance diagram for ScottPlot.WinForms.FormsPlot:
ScottPlot.WinForms.FormsPlotBase UserControl ScottPlot.IPlotControl

Public Member Functions

 FormsPlot ()
 
override void Refresh ()
 Render the plot and update the image.
 
- Public Member Functions inherited from ScottPlot.WinForms.FormsPlotBase
 FormsPlotBase ()
 
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.
 
void Reset (Plot plot, bool disposeOldPlot)
 
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.
 

Properties

TransparentSKControlSKControl [get]
 
override GRContext GRContext [get]
 Context for hardware-accelerated graphics (or null if not available)
 
- Properties inherited from ScottPlot.WinForms.FormsPlotBase
GRContext GRContext [get]
 Context for hardware-accelerated graphics (or null if not available)
 
Plot Plot [get, set]
 The primary Plot displayed by this interactive control.
 
IMultiplot Multiplot [get, set]
 The multiplot managed by this interactive control.
 
IPlotMenuMenu [get, set]
 Platform-specific logic for managing the context menu.
 
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.
 
float DisplayScale [get, set]
 The value of the present display scaling. Mouse positions are multiplied by this value for pixel/coordinate conversions.
 
bool IsDesignerAlternative [get]
 A design time alternative view is displayed for instances where the plot control is loaded inside Visual Studio and the SkiaSharp DLL cannot be properly loaded.
 
override System.Drawing.Color BackColor [get, set]
 
- Properties inherited from ScottPlot.IPlotControl

Constructor & Destructor Documentation

◆ FormsPlot()

ScottPlot.WinForms.FormsPlot.FormsPlot ( )
inline

Member Function Documentation

◆ Refresh()

override void ScottPlot.WinForms.FormsPlot.Refresh ( )
inline

Render the plot and update the image.

Implements ScottPlot.IPlotControl.

Property Documentation

◆ GRContext

override GRContext ScottPlot.WinForms.FormsPlot.GRContext
get

Context for hardware-accelerated graphics (or null if not available)

Implements ScottPlot.IPlotControl.

◆ SKControl

TransparentSKControl? ScottPlot.WinForms.FormsPlot.SKControl
get

The documentation for this class was generated from the following file: