ScottPlot
|
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. | |
Public Attributes | |
Coordinates | Center = Coordinates.Origin |
Protected Member Functions | |
virtual void | RenderAnnulus (RenderPack rp, SKPaint paint, PixelRect rect) |
virtual void | RenderEllipse (RenderPack rp, SKPaint paint, PixelRect rect) |
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. | |
IEnumerable< LegendItem > | LegendItems [get] |
Items which will appear in the legend. | |
LineStyle | LineStyle = new() { Width = 1 } [get, set] |
float | LineWidth [get, set] |
LinePattern | LinePattern [get, set] |
Color | LineColor [get, set] |
FillStyle | FillStyle = new() { Color = Colors.Transparent } [get, set] |
Color | FillColor [get, set] |
Color | FillHatchColor [get, set] |
IHatch? | FillHatch [get, set] |
string | Label [get, set] |
string | LegendText = string.Empty [get, set] |
If populated, this text appears in the legend. | |
double | RadiusX [get, set] |
Horizontal radius (axis units) | |
double | RadiusY [get, set] |
Horizontal radius (axis units) | |
double | InnerRadiusX = 0 [get, set] |
Horizontal inner annular radius (axis units) | |
double | InnerRadiusY = 0 [get, set] |
Horizontal inner annular radius (axis units) | |
Angle | Rotation = Angle.FromDegrees(0) [get, set] |
Rotation of the ellipse (degrees) | |
bool | IsAnnulus [get] |
bool | IsSector = true [get, set] |
if false, it is an elliptical arc If true, it is an elliptical sector; | |
Angle | StartAngle = Angle.FromDegrees(0) [get, set] |
Start angle of elliptical arc or elliptical sector (degrees) | |
Angle | SweepAngle = Angle.FromDegrees(360) [get, set] |
Sweep angle of elliptical arc or elliptical sector (degrees) | |
![]() | |
![]() | |
![]() | |
![]() |
|
inline |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
Implements ScottPlot.IPlottable.
|
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.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Coordinates ScottPlot.Plottables.Ellipse.Center = Coordinates.Origin |
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 |
Implements ScottPlot.IHasFill.
|
getset |
Implements ScottPlot.IHasFill.
|
getset |
Implements ScottPlot.IHasFill.
|
getset |
Implements ScottPlot.IHasFill.
|
getset |
Horizontal inner annular radius (axis units)
|
getset |
Horizontal inner annular radius (axis units)
|
get |
|
getset |
if false, it is an elliptical arc If true, it is an elliptical sector;
|
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 |
|
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 |
Horizontal radius (axis units)
|
getset |
Horizontal radius (axis units)
|
getset |
Rotation of the ellipse (degrees)
|
getset |
Start angle of elliptical arc or elliptical sector (degrees)
|
getset |
Sweep angle of elliptical arc or elliptical sector (degrees)