|
| Pie (IList< PieSlice > slices) |
|
override AxisLimits | GetAxisLimits () |
| Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
|
|
override 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.
|
|
virtual void | UpdateAxisLimits (Plot plot) |
|
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.
|
|
|
double | ExplodeFraction = 0 [get, set] |
|
double | DonutFraction = 0 [get, set] |
|
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.
|
|
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).
|
|
Angle | Rotation = Angle.FromDegrees(-90) [get, set] |
|
IEnumerable< LegendItem > | LegendItems [get] |
| Items which will appear in the legend.
|
|
Color | LineColor [get, set] |
|
LinePattern | LinePattern [get, set] |
|
LineStyle | LineStyle = new() { Width = 1 } [get, set] |
|
float | LineWidth [get, set] |
|
double | Padding = 0.2 [get, set] |
|
double | SliceLabelDistance = 1.2 [get, set] |
|
IList< PieSlice > | Slices = [] [get, set] |
|
bool | ManageAxisLimits = true [get, set] |
| Enable this to modify the axis limits at render time to achieve "square axes" where the units/px values are equal for horizontal and vertical axes, allowing circles to always appear as circles instead of ellipses.
|
|
◆ Pie()
◆ GetAxisLimits()
override AxisLimits ScottPlot.Plottables.Pie.GetAxisLimits |
( |
| ) |
|
|
inline |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
Implements ScottPlot.IPlottable.
◆ Render()
override void ScottPlot.Plottables.Pie.Render |
( |
RenderPack |
rp | ) |
|
|
inline |
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.
◆ DonutFraction
double ScottPlot.Plottables.Pie.DonutFraction = 0 |
|
getset |
◆ ExplodeFraction
double ScottPlot.Plottables.Pie.ExplodeFraction = 0 |
|
getset |
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/Plottables/Pie.cs