PieMeasureContext

Bundle of per-Invalidate state shared between the template-method orchestration on CorePieSeries and the per-slice hooks. Pie has no scale axes — the geometry is angular — so the context carries chart-center coordinates, available radial space, and rotation parameters instead.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType PieMeasureContext

Members

Properties

Chart PieChartEngine
The pie chart engine.
CenterX Single
Chart-center pixel X.
CenterY Single
Chart-center pixel Y.
MinDimension Single
Available radial space (after stroke / pushout / outer-label correction).
InnerRadius Single
Configured inner radius (doughnut hole).
PushOut Single
Configured pushout offset.
RelativeInnerRadius Single
Per-stack relative inner-radius padding (post-MaxRadialColumnWidth clamp).
RelativeOuterRadius Single
Per-stack relative outer-radius padding (post-MaxRadialColumnWidth clamp).
CornerRadius Single
Configured corner radius for rounded slices.
InitialRotation Single
Configured initial rotation (degrees) from the chart view.
CompleteAngle Single
Total sweep range (degrees) configured on the chart view (typically 360).
StartValue Double
Configured MinValue / starting value.
ChartTotal Nullable<Double>
Optional configured MaxValue (null = use the stacker's total).
IsClockWise Boolean
Whether the chart is drawn clockwise (else counter-clockwise).
Stacker StackPosition
Stacker for this series (pre-resolved; pie series are always stacked).
SliceCount Int32
Number of visible slices in this series (drives the stacked-pie radial math).
IsFirstDraw Boolean
True if this is the first draw of the series.
DrawLocation LvcPoint
Top-left of the draw margin region.
DrawMarginSize LvcSize
Size of the draw margin region.
DataLabelsSize Single
Pre-cast data-label text size.

Constructors

PieMeasureContext 20 parameters

Initializes a new instance of PieMeasureContext.

PieChartEngine chart *summary not found*

Single centerX *summary not found*

Single centerY *summary not found*

Single minDimension *summary not found*

Single innerRadius *summary not found*

Single pushOut *summary not found*

Single relativeInnerRadius *summary not found*

Single relativeOuterRadius *summary not found*

Single cornerRadius *summary not found*

Single initialRotation *summary not found*

Single completeAngle *summary not found*

Double startValue *summary not found*

Nullable<Double> chartTotal *summary not found*

Boolean isClockWise *summary not found*

StackPosition stacker *summary not found*

Int32 sliceCount *summary not found*

Boolean isFirstDraw *summary not found*

LvcPoint drawLocation *summary not found*

LvcSize drawMarginSize *summary not found*

Single dataLabelsSize *summary not found*