[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.FlexPieBaseBuilder-3

FlexPieBaseBuilder<T, TControl, TBuilder> Class

Defines a builder to configurate FlexPieBase<T>.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ControlBuilder<TControl, TBuilder>
ItemsBoundControlBuilder<T, TControl, TBuilder>
FlexChartBaseBuilder<T, TControl, TBuilder>
FlexPieBaseBuilder<T, TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class FlexPieBaseBuilder<T, TControl, TBuilder> : FlexChartBaseBuilder<T, TControl, TBuilder>, IHtmlString where TControl : FlexPieBase<T> where TBuilder : FlexPieBaseBuilder<T, TControl, TBuilder>
Type Parameters
Name Description
T
TControl
TBuilder

Constructors

Name Description
FlexPieBaseBuilder(TControl)

Creates one FlexPieBaseBuilder<T, TControl, TBuilder> instance to configurate component.

Methods

Name Description
Bind(string, string, IEnumerable<T>)

Bind data with specified name property and value property of the data source.

Bind(string, string, string)

Bind data with specified name property, value property and the url of the action which is used for reading data.

Binding(string)

Configurates Binding. Sets the name of the property that contains the chart values.

BindingName(string)

Configurates BindingName. Sets the name of the property that contains the name of the data item.

ChartsPerLine(int)

Configurates ChartsPerLine. Sets the maximal number of charts per line.

DataLabel(Action<PieDataLabelBuilder>)

Configurates DataLabel. Sets the style of point data label.

InnerRadius(float)

Configurates InnerRadius. Sets the size of the pie's inner radius.

InnerText(string)

Configurates InnerText. Sets the text inside the pie (at the pie center).

InnerTextStyle(Action<SVGStyleBuilder>)

Configurates InnerTextStyle. Get or set the style of text inside pie.

IsAnimated(bool)

Configurates IsAnimated. Sets a value indicating whether to use animation when items are selected.

Offset(float)

Configurates Offset. Sets the offset of the slices from the pie center.

Reversed(bool)

Configurates Reversed. Sets whether angles are reversed (counter-clockwise).

SelectedIndex(int)

Configurates SelectedIndex. Sets the index of the selected slice.

SelectedItemOffset(float)

Configurates SelectedItemOffset. Sets the offset of the selected slice from the pie center.

SelectedItemPosition(Position)

Configurates SelectedItemPosition. Sets the position of the selected slice.

StartAngle(float)

Configurates StartAngle. Sets the starting angle for the pie slices, in degrees.

Titles(string)

Configurates Titles. Sets the pie titles.

Extension Methods