ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Plottables.Benchmark Class Reference
Inheritance diagram for ScottPlot.Plottables.Benchmark:
ScottPlot.LabelStyleProperties ScottPlot.IPlottable ScottPlot.IHasLabel

Public Member Functions

AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 
virtual void Render (RenderPack rp)
 Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
 

Properties

bool IsVisible [get, set]
 Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
 
IAxes Axes = new Axes() [get, set]
 This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
 
IEnumerable< LegendItemLegendItems [get]
 Items which will appear in the legend.
 
override LabelStyle LabelStyle [get, set]
 
- Properties inherited from ScottPlot.LabelStyleProperties
LabelStyle LabelStyle [get, set]
 
float LabelOffsetX [get, set]
 
float LabelOffsetY [get, set]
 
float LabelRotation [get, set]
 
float LabelPadding [set]
 
PixelPadding LabelPixelPadding [get, set]
 
PixelRect LabelLastRenderPixelRect [get]
 
string LabelText [get, set]
 
Alignment LabelAlignment [get, set]
 
string LabelFontName [get, set]
 
float LabelFontSize [get, set]
 
float? LabelLineSpacing [get, set]
 
bool LabelItalic [get, set]
 
bool LabelBold [get, set]
 
Color LabelFontColor [get, set]
 
Color LabelBackgroundColor [get, set]
 
float LabelBorderRadius [get, set]
 
float LabelBorderRadiusX [get, set]
 
float LabelBorderRadiusY [get, set]
 
float LabelBorderWidth [get, set]
 
Color LabelBorderColor [get, set]
 
Color LabelShadowColor [get, set]
 
PixelOffset LabelShadowOffset [get, set]
 
- Properties inherited from ScottPlot.IHasLabel
- Properties inherited from ScottPlot.IPlottable

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.Plottables.Benchmark.GetAxisLimits ( )

Return the 2D area (in coordinate space) occupied by the data contained in this plottable.

Implements ScottPlot.IPlottable.

◆ Render()

virtual void ScottPlot.Plottables.Benchmark.Render ( RenderPack  rp)
inlinevirtual

Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.

Implements ScottPlot.IPlottable.

Property Documentation

◆ Axes

IAxes ScottPlot.Plottables.Benchmark.Axes = new Axes()
getset

This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.

Implements ScottPlot.IPlottable.

◆ IsVisible

bool ScottPlot.Plottables.Benchmark.IsVisible
getset

Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).

Implements ScottPlot.IPlottable.

◆ LabelStyle

override LabelStyle ScottPlot.Plottables.Benchmark.LabelStyle
getset
Initial value:
= new()
{
FontName = Fonts.Monospace,
Alignment = Alignment.LowerLeft,
BackgroundColor = Colors.Yellow,
PixelPadding = new(3, 3, 3, 3),
BorderWidth = 1,
BorderColor = Colors.Black,
}
Alignment
Represents the location of a point relative to a rectangle. UpperLeft means the point is at the top l...
Definition Alignment.cs:8

Implements ScottPlot.IHasLabel.

◆ LegendItems

IEnumerable<LegendItem> ScottPlot.Plottables.Benchmark.LegendItems
get

Items which will appear in the legend.

Implements ScottPlot.IPlottable.


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