|
| AvaPlot () |
|
override void | Render (DrawingContext context) |
|
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 | 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.
|
|
|
Plot | Plot [get, set] |
| The primary Plot displayed by this interactive control.
|
|
IMultiplot | Multiplot [get, set] |
| The multiplot managed by this interactive control.
|
|
IPlotMenu? | Menu [get, set] |
| Platform-specific logic for managing the context menu.
|
|
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.
|
|
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.
|
|
◆ AvaPlot()
ScottPlot.Avalonia.AvaPlot.AvaPlot |
( |
| ) |
|
|
inline |
◆ DetectDisplayScale()
float ScottPlot.Avalonia.AvaPlot.DetectDisplayScale |
( |
| ) |
|
|
inline |
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.
Implements ScottPlot.IPlotControl.
◆ OnKeyDown()
override void ScottPlot.Avalonia.AvaPlot.OnKeyDown |
( |
KeyEventArgs |
e | ) |
|
|
inlineprotected |
◆ OnKeyUp()
override void ScottPlot.Avalonia.AvaPlot.OnKeyUp |
( |
KeyEventArgs |
e | ) |
|
|
inlineprotected |
◆ OnPointerMoved()
override void ScottPlot.Avalonia.AvaPlot.OnPointerMoved |
( |
PointerEventArgs |
e | ) |
|
|
inlineprotected |
◆ OnPointerPressed()
override void ScottPlot.Avalonia.AvaPlot.OnPointerPressed |
( |
PointerPressedEventArgs |
e | ) |
|
|
inlineprotected |
◆ OnPointerReleased()
override void ScottPlot.Avalonia.AvaPlot.OnPointerReleased |
( |
PointerReleasedEventArgs |
e | ) |
|
|
inlineprotected |
◆ OnPointerWheelChanged()
override void ScottPlot.Avalonia.AvaPlot.OnPointerWheelChanged |
( |
PointerWheelEventArgs |
e | ) |
|
|
inlineprotected |
◆ Refresh()
void ScottPlot.Avalonia.AvaPlot.Refresh |
( |
| ) |
|
|
inline |
◆ Render()
override void ScottPlot.Avalonia.AvaPlot.Render |
( |
DrawingContext |
context | ) |
|
|
inline |
◆ Reset() [1/2]
void ScottPlot.Avalonia.AvaPlot.Reset |
( |
| ) |
|
|
inline |
◆ Reset() [2/2]
void ScottPlot.Avalonia.AvaPlot.Reset |
( |
Plot |
plot | ) |
|
|
inline |
◆ ShowContextMenu()
void ScottPlot.Avalonia.AvaPlot.ShowContextMenu |
( |
Pixel |
position | ) |
|
|
inline |
Launch the default pop-up menu (typically in response to a right-click) at the given position in the control.
Implements ScottPlot.IPlotControl.
◆ DisplayScale
float ScottPlot.Avalonia.AvaPlot.DisplayScale |
|
getset |
The value of the present display scaling. Mouse positions are multiplied by this value for pixel/coordinate conversions.
Implements ScottPlot.IPlotControl.
◆ GRContext
GRContext? ScottPlot.Avalonia.AvaPlot.GRContext |
|
get |
◆ Menu
◆ Multiplot
◆ Plot
Plot ScottPlot.Avalonia.AvaPlot.Plot |
|
getset |
◆ UserInputProcessor
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.
Implements ScottPlot.IPlotControl.
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5 Controls/ScottPlot.Avalonia/AvaPlot.cs