Class Pie
- Namespace
- ScottPlot.Plottables
- Assembly
- ScottPlot.dll
public class Pie : PieBase, IPlottable, IManagesAxisLimits, IHasLine
- Inheritance
-
Pie
- Implements
- Inherited Members
- Extension Methods
Constructors
Pie(IList<PieSlice>)
public Pie(IList<PieSlice> slices)
Parameters
Properties
DonutFraction
public double DonutFraction { get; set; }
Property Value
ExplodeFraction
public double ExplodeFraction { get; set; }
Property Value
Radius
public double Radius { get; set; }
Property Value
Methods
GetAxisLimits()
Return the 2D area (in coordinate space) occupied by the data contained in this plottable
public override AxisLimits GetAxisLimits()
Returns
Render(RenderPack)
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 override void Render(RenderPack rp)
Parameters
rpRenderPack
RenderDonutSlice(RenderPack, Paint, LineStyle, FillStyle, float, float, float)
protected virtual void RenderDonutSlice(RenderPack rp, Paint paint, LineStyle lineStyle, FillStyle fillStyle, float radius, float sliceAngle, float startAngle)
Parameters
rpRenderPackpaintPaintlineStyleLineStylefillStyleFillStyleradiusfloatsliceAnglefloatstartAnglefloat
RenderSlice(RenderPack, Paint, LineStyle, FillStyle, float, float, float)
protected virtual void RenderSlice(RenderPack rp, Paint paint, LineStyle lineStyle, FillStyle fillStyle, float radius, float sliceAngle, float startAngle)