ScottPlot
|
Public Member Functions | |
bool | IsUnderMouse (CoordinateRect rect) |
AxisLimits | GetAxisLimits () |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable. | |
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. | |
void | RenderLast (RenderPack rp) |
Plottables that implement this interface have a second render method that runs after the axes are drawn, allowing graphics to be placed on top of the axes. | |
Properties | |
bool | IsVisible = true [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. | |
LineStyle | LineStyle = new() { Width = 1 } [get, set] |
float | LineWidth [get, set] |
LinePattern | LinePattern [get, set] |
Color | LineColor [get, set] |
override LabelStyle | LabelStyle = new() [get, set] |
string | Text [get, set] |
string | LegendText = string.Empty [get, set] |
If populated, this text appears in the legend. | |
Alignment? | ManualLabelAlignment = null [get, set] |
Alignment? | TextAlignment [get, set] |
LabelStyle | Label [get, set] |
float | FontSize [get, set] |
bool | FontBold [get, set] |
string | FontName [get, set] |
Color | FontColor [get, set] |
Color | TextColor [get, set] |
Color | TextBackgroundColor [get, set] |
float | TextRotation [get, set] |
float | TextSize [get, set] |
bool | LabelOppositeAxis = false [get, set] |
bool | IsDraggable = false [get, set] |
bool | ExcludeFromLegend = false [get, set] |
bool | EnableAutoscale = true [get, set] |
Color | Color [get, set] |
double | Position = 0 [get, set] |
IEnumerable< LegendItem > | LegendItems [get] |
Items which will appear in the legend. | |
![]() | |
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] |
![]() | |
![]() | |
![]() | |
![]() |
|
abstract |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
Implements ScottPlot.IPlottable.
|
abstract |
|
abstract |
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.
|
abstract |
Plottables that implement this interface have a second render method that runs after the axes are drawn, allowing graphics to be placed on top of the axes.
Implements ScottPlot.IRenderLast.
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.
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
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.
|
getset |
|
getset |
|
getset |
Implements ScottPlot.IHasLabel.
|
get |
Items which will appear in the legend.
Implements ScottPlot.IPlottable.
|
getset |
If populated, this text appears in the legend.
Implements ScottPlot.IHasLegendText.
|
getset |
Implements ScottPlot.IHasLine.
|
getset |
Implements ScottPlot.IHasLine.
|
getset |
Implements ScottPlot.IHasLine.
|
getset |
Implements ScottPlot.IHasLine.
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |