New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the Kendo UI Chart Pie series.

Definition

Constructors

Initializes a new instance of the ChartPieSeries<TModel, TValue> class.

C#
public ChartPieSeries()

Initializes a new instance of the ChartPieSeries<TModel, TValue> class.

C#
public ChartPieSeries(Expression<Func<TModel, TValue>> expressionValue, Expression<Func<TModel, string>> expressionCategory, Expression<Func<TModel, string>> expressionColor, Expression<Func<TModel, bool>> expressionExplode, Expression<Func<TModel, bool>> expressionVisibleInLegend)
Parameters:expressionValueExpression<Func<TModel, TValue>>

The value expression.

expressionCategoryExpression<Func<TModel, string>>

The category expression.

expressionColorExpression<Func<TModel, string>>

The color expression.

expressionExplodeExpression<Func<TModel, bool>>

The explode expression.

expressionVisibleInLegendExpression<Func<TModel, bool>>

The visibleInLegend expression.

Initializes a new instance of the ChartPieSeries<TModel, TValue> class.

C#
public ChartPieSeries(IEnumerable data)
Parameters:dataIEnumerable

The data.

Properties

If set to true, the Chart automatically scales down to fit the content area.

C#
public bool AutoFit { get; set; }

Implements: IChartPieSeries.AutoFit

Gets or sets the pie border

C#
public ChartElementBorder Border { get; set; }

Implements: IChartPieSeries.Border

Gets a function which returns the category of the property to which the column is bound to.

C#
public Func<TModel, string> Category { get; }

Gets the model data category member name.

C#
public string CategoryMember { get; set; }
Property Value:

The model data category member name.

Implements: IChartBoundSeries.CategoryMember

Color

Func<TModel, string>

Gets a function which returns the color of the property to which the column is bound to.

C#
public Func<TModel, string> Color { get; set; }

Gets the model data color member name.

C#
public string ColorMember { get; set; }
Property Value:

The model data color member name.

Implements: IChartBoundSeries.ColorMember

Gets the pie chart connectors configuration

C#
public ChartPieConnectors Connectors { get; set; }

Implements: IChartPieSeries.Connectors

The pie chart data configuration.

C#
public IEnumerable Data { get; set; }

Implements: IChartBoundSeries.Data

Explode

Func<TModel, bool>

Gets a function which returns the explode of the property to which the column is bound to.

C#
public Func<TModel, bool> Explode { get; }

Gets the model data explode member name.

C#
public string ExplodeMember { get; set; }
Property Value:

The model data explode member name.

Implements: IChartPieSeries.ExplodeMember

Gets the pie chart data labels configuration

C#
public ChartPieLabels Labels { get; set; }

Implements: IChartPieSeries.Labels

Gets the model data member name.

C#
public string Member { get; set; }
Property Value:

The model data member name.

Implements: IChartBoundSeries.Member

Gets the model data note text member name.

C#
public string NoteTextMember { get; set; }
Property Value:

The model data note text member name.

Implements: IChartBoundSeries.NoteTextMember

Gets or sets the effects overlay.

C#
public ChartPieSeriesOverlay Overlay { get; set; }

Implements: IChartPieSeries.Overlay

Gets or sets the padding of the chart.

C#
public int? Padding { get; set; }

Implements: IChartPieSeries.Padding

Gets or sets the dataItem field which contains the series pattern configuration for individual chart segments.

C#
public string PatternField { get; set; }

Implements: IChartPieSeries.PatternField

Gets or sets the start angle of the first pie segment.

C#
public int? StartAngle { get; set; }

Implements: IChartPieSeries.StartAngle

Gets the series type.

C#
public string Type { get; set; }

Implements: IChartPieSeries.Type

Gets a function which returns the visibleInLegend of the property to which the column is bound to.

C#
public Func<TModel, bool> VisibleInLegendExpr { get; }

Gets the model data visibleInLegend member name.

C#
public string VisibleInLegendMember { get; set; }
Property Value:

The model data visibleInLegend member name.

Implements: IChartPieSeries.VisibleInLegendMember

Gets or sets the series visual handler.

C#
public ClientHandlerDescriptor Visual { get; set; }
Property Value:

The series visual handler.

Implements: IChartPieSeries.Visual

Methods

Creates a new ChartPieSeriesSerializer.

C#
public override IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartPieSeriesSerializer instance.

Overrides: ChartSeriesBase<TModel>.CreateSerializer()

Implements: IChartSeries.CreateSerializer()