Table of Contents

Class PropertyChartEnginePie2D

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Provides rendering logic for 2D pie chart engine and prepares chart segments for rendering.

public class PropertyChartEnginePie2D : PropertyChartEnginePieDonutBase
Inheritance
PropertyChartEnginePie2D
Inherited Members

Constructors

PropertyChartEnginePie2D(PropertyChartEngineBase)

Wraps an existing pie engine DOM item (2D) and initializes defaults if required.

public PropertyChartEnginePie2D(PropertyChartEngineBase item)

Parameters

item PropertyChartEngineBase

Properties

Gradient

Gets the gradient appearance settings.

[JsonInclude]
public PropertyGradient Gradient { get; }

Property Value

PropertyGradient

YAxis

Gets the pie value axis.

[JsonInclude]
public PropertyValueAxisPie2D YAxis { get; }

Property Value

PropertyValueAxisPie2D

Methods

GetSortingValue()

Gets the sorting value used to order data points during iteration.

public override string GetSortingValue()

Returns

string

A string representing the sorting criteria.

Exceptions

NotImplementedException

This method must be overridden in derived classes.

GetXAxisValue()

Gets the X-axis value for the current data point. This method must be overridden in derived classes to provide chart-specific X-axis evaluation logic.

public override ExpressionValue GetXAxisValue()

Returns

ExpressionValue

An ExpressionValue representing the X-axis coordinate for the current data point.

Exceptions

NotImplementedException

Thrown when called on the base class. Derived classes must override this method.

GetYAxisValue()

Gets the Y-axis value for the current data point. This method must be overridden in derived classes to provide chart-specific Y-axis evaluation logic.

public override ExpressionValue GetYAxisValue()

Returns

ExpressionValue

An ExpressionValue representing the Y-axis coordinate for the current data point.

Exceptions

NotImplementedException

Thrown when called on the base class. Derived classes must override this method.

IsOtherChartSegment()

Determines whether the current data point should be aggregated into the "others" segment.

public override bool IsOtherChartSegment()

Returns

bool

true if the current data point index exceeds the maximum allowed segments; otherwise, false.

PrepareChartSegment()

Prepares a single chart segment based on the current data point.

public override void PrepareChartSegment()

Exceptions

NotImplementedException

This method must be overridden in derived classes.

PrepareOtherChartSegment()

Prepares the "others" chart segment for data points that exceed the maximum segment count.

public override void PrepareOtherChartSegment()

Exceptions

NotImplementedException

This method must be overridden in derived classes.

Reset()

Resets the chart engine to its initial state and clears prepared segments.

public void Reset()

ResetDataPoints()

Resets all data points to their initial state.

public override void ResetDataPoints()

Exceptions

NotImplementedException

This method must be overridden in derived classes.