Defines the Kendo UI Chart Pie series.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
TValue
Syntax:
public class ChartPieSeries<TModel, TValue> : ChartSeriesBase<TModel>, IChartPieSeries, IChartBoundSeries, IChartSeries where TModel : class
Inheritance: objectChartSeriesBase<TModel>ChartPieSeries<TModel, TValue>
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartPieSeries<TModel, TValue> class.
public ChartPieSeries()
Initializes a new instance of the ChartPieSeries<TModel, TValue> class.
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)
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.
Properties
If set to true, the Chart automatically scales down to fit the content area.
public bool AutoFit { get; set; }
Implements:
Gets or sets the pie border
public ChartElementBorder Border { get; set; }
Implements:
Gets a function which returns the category of the property to which the column is bound to.
public Func<TModel, string> Category { get; }
Gets the model data category member name.
public string CategoryMember { get; set; }
The model data category member name.
Implements:
Gets a function which returns the color of the property to which the column is bound to.
public Func<TModel, string> Color { get; set; }
Gets the model data color member name.
public string ColorMember { get; set; }
The model data color member name.
Implements:
Gets the pie chart connectors configuration
public ChartPieConnectors Connectors { get; set; }
Implements:
The pie chart data configuration.
public IEnumerable Data { get; set; }
Implements:
Gets a function which returns the explode of the property to which the column is bound to.
public Func<TModel, bool> Explode { get; }
Gets the model data explode member name.
public string ExplodeMember { get; set; }
The model data explode member name.
Implements:
Gets the pie chart data labels configuration
public ChartPieLabels Labels { get; set; }
Implements:
Gets the model data member name.
public string Member { get; set; }
The model data member name.
Implements:
Gets the model data note text member name.
public string NoteTextMember { get; set; }
The model data note text member name.
Implements:
Gets or sets the effects overlay.
public ChartPieSeriesOverlay Overlay { get; set; }
Implements:
Gets or sets the dataItem field which contains the series pattern configuration for individual chart segments.
public string PatternField { get; set; }
Implements:
Gets or sets the start angle of the first pie segment.
public int? StartAngle { get; set; }
Implements:
Gets a function which returns the visibleInLegend of the property to which the column is bound to.
public Func<TModel, bool> VisibleInLegendExpr { get; }
Gets the model data visibleInLegend member name.
public string VisibleInLegendMember { get; set; }
The model data visibleInLegend member name.
Implements:
Gets or sets the series visual handler.
public ClientHandlerDescriptor Visual { get; set; }
The series visual handler.
Implements:
Methods
Creates a new ChartPieSeriesSerializer.
public override IChartSerializer CreateSerializer()
The ChartPieSeriesSerializer instance.
Overrides:
Implements: