[]
        
(Showing Draft Content)

C1.Blazor.Chart.FlexPie

FlexPie Class

Represents a charting control that renders pie chart.

Namespace: C1.Blazor.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
public class FlexPie : FlexChartBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

Name Description
FlexPie()

Creates an instance of FlexPie class.

Fields

Name Description
_dirty

Whether the data cache is dirty.

Properties

Name Description
AnimationDuration

Gets or sets the animation duration in milliseconds. Default value is 400ms.

AnimationSettings

Gets or sets the animation settings.

Binding

Gets or sets the name of the property that contains numeric values for the pie slices.

BindingName

Gets or sets the name of the property that contains label for the pie slices and legend.

DataLabel

Gets the chart data label.

InnerRadius

Gets or sets the size of the pie's inner radius.

ItemsSource

Gets or sets the collection of objects that contains the data for the pie chart.

Label

Gets or sets the data label.

LabelRendered

Fires after rendering label.

LabelRendering

Fires before rendering label.

Offset

Gets or sets the offset of the slices from the pie center.

Reversed

Gets or sets a value that determines whether angles are reversed (counter-clockwise).

SelectedItemOffset

Gets or sets the offset of the selected slice from the pie center.

SelectedItemPosition

Gets or sets the position of the selected slice.

SliceRendered

Fires after rendering slice.

SliceRendering

Fires before rendering slice.

StartAngle

Gets or sets the starting angle for the pie slices, in degrees.

Titles

Gets or sets the pie titles.

Methods

Name Description
Bind()

Performs data binding.

BuildRenderTree(RenderTreeBuilder)
GetContent(HitTestInfo, string)

Gets the content based on template.

HitTest(C1Point)

Gets a HitTestInfo object with information about the specified point.

OnClick(_Point)

Called when user clicks on the control.

Render(IRenderEngine, int, int, int, int)

Renders the chart.