Table of Contents

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

slices IList<PieSlice>

Properties

DonutFraction

public double DonutFraction { get; set; }

Property Value

double

ExplodeFraction

public double ExplodeFraction { get; set; }

Property Value

double

Radius

public double Radius { get; set; }

Property Value

double

Methods

GetAxisLimits()

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

public override AxisLimits GetAxisLimits()

Returns

AxisLimits

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

rp RenderPack

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

rp RenderPack
paint Paint
lineStyle LineStyle
fillStyle FillStyle
radius float
sliceAngle float
startAngle float

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)

Parameters

rp RenderPack
paint Paint
lineStyle LineStyle
fillStyle FillStyle
radius float
sliceAngle float
startAngle float