skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PieSeries

Represents a pie chart series that displays data as segments of a circular pie, where each segment represents a data point's proportional value.

Inheritance
System.Object
DisposableObject
RadObject
UIChartElement
ChartSeries
PieSeries
DonutSeries
Inherited Members
ChartSeries.PointSizeProperty
ChartSeries.LabelFormatProperty
ChartSeries.DrawLinesToLabelsProperty
ChartSeries.SyncLinesToLabelsColorProperty
ChartSeries.LinesToLabelsColorProperty
ChartSeries.LabelRotationAngleProperty
ChartSeries.OnDataPointIsSelectedChanged(DataPoint)
ChartSeries.EnsureVisualState(ChartArea)
ChartSeries.ApplyStyleSettingsCore(PropertySettingGroup)
ChartSeries.Refresh()
ChartSeries.OnPropertyChanged(RadPropertyChangedEventArgs)
ChartSeries.CreateDataPointElementCollection()
ChartSeries.CreateDataPoint()
ChartSeries.CreateDataPointElement(DataPoint)
ChartSeries.GetElement(Point)
ChartSeries.GetStyleIndex()
ChartSeries.HitTest(Int32, Int32)
ChartSeries.GetDefaultTrackballTextForPoint(DataPoint)
ChartSeries.OnCreatePoint(ChartViewCreatePointEventArgs)
ChartSeries.OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs)
ChartSeries.SelectedStyle
ChartSeries.LabelFormat
ChartSeries.ShowLabels
ChartSeries.LabelFormatProvider
ChartSeries.PointSize
ChartSeries.DrawLinesToLabels
ChartSeries.SyncLinesToLabelsColor
ChartSeries.LinesToLabelsColor
ChartSeries.DataPoints
ChartSeries.DataSource
ChartSeries.DataMember
ChartSeries.DisplayMember
ChartSeries.Family
ChartSeries.Name
ChartSeries.Axes
ChartSeries.Bounds
ChartSeries.IsVisible
ChartSeries.Palette
ChartSeries.LabelRotationAngle
ChartSeries.TrackballFormatString
ChartSeries.CreatePoint
ChartSeries.TrackballPointTextNeeded
UIChartElement.IsVisibleProperty
UIChartElement.ClassProperty
UIChartElement.VisualStateProperty
UIChartElement.IsMouseDownProperty
UIChartElement.IsMouseOverProperty
UIChartElement.FontProperty
UIChartElement.CustomFontProperty
UIChartElement.CustomFontSizeProperty
UIChartElement.CustomFontStyleProperty
UIChartElement.ForeColorProperty
UIChartElement.BackColorProperty
UIChartElement.BackColor2Property
UIChartElement.BackColor3Property
UIChartElement.BackColor4Property
UIChartElement.NumberOfColorsProperty
UIChartElement.GradientStyleProperty
UIChartElement.GradientAngleProperty
UIChartElement.GradientPercentageProperty
UIChartElement.GradientPercentage2Property
UIChartElement.BorderBoxStyleProperty
UIChartElement.BorderDrawModeProperty
UIChartElement.BorderWidthProperty
UIChartElement.BorderLeftWidthProperty
UIChartElement.BorderRightWidthProperty
UIChartElement.BorderTopWidthProperty
UIChartElement.BorderBottomWidthProperty
UIChartElement.BorderGradientAngleProperty
UIChartElement.BorderGradientStyleProperty
UIChartElement.BorderColorProperty
UIChartElement.BorderColor2Property
UIChartElement.BorderColor3Property
UIChartElement.BorderColor4Property
UIChartElement.BorderInnerColorProperty
UIChartElement.BorderInnerColor2Property
UIChartElement.BorderInnerColor3Property
UIChartElement.BorderInnerColor4Property
UIChartElement.BorderLeftColorProperty
UIChartElement.BorderTopColorProperty
UIChartElement.BorderRightColorProperty
UIChartElement.BorderBottomColorProperty
UIChartElement.BorderLeftShadowColorProperty
UIChartElement.BorderTopShadowColorProperty
UIChartElement.BorderRightShadowColorProperty
UIChartElement.BorderBottomShadowColorProperty
UIChartElement.BackgroundShapeProperty
UIChartElement.BorderDashStyleProperty
UIChartElement.BorderDashPatternProperty
UIChartElement.BorderCornerRadiusProperty
UIChartElement.ShapeProperty
UIChartElement.PaddingProperty
UIChartElement.SmoothingModeProperty
UIChartElement.GetValue(RadProperty)
UIChartElement.Attach(UIChartElement)
UIChartElement.Dettach()
UIChartElement.Invalidate()
UIChartElement.MeasureContentOverride(ChartNode, Object)
UIChartElement.DpiScaleChanged(SizeF)
UIChartElement.GetScaledFont(Single)
UIChartElement.IChartElementPresenter.RefreshNode(ChartNode)
UIChartElement.IChartElementPresenter.MeasureContent(ChartNode, Object)
UIChartElement.IChartElementPresenter.InvalidatePalette()
UIChartElement.GetCurrentShape()
UIChartElement.GetThemeEffectiveType()
UIChartElement.IStylableNode.ApplySettings(PropertySettingGroup)
UIChartElement.ApplyStyle()
UIChartElement.BuildVisualState()
UIChartElement.AddStylePropertySetting(IPropertySetting)
UIChartElement.ApplyStyleByIndex(PropertySettingGroup, Int32)
UIChartElement.Parent
UIChartElement.Level
UIChartElement.Children
UIChartElement.IsMouseDown
UIChartElement.IsMouseOver
UIChartElement.View
UIChartElement.ForeColor
UIChartElement.Font
UIChartElement.CustomFont
UIChartElement.CustomFontSize
UIChartElement.CustomFontStyle
UIChartElement.BackColor
UIChartElement.BackColor2
UIChartElement.BackColor3
UIChartElement.BackColor4
UIChartElement.GradientStyle
UIChartElement.GradientAngle
UIChartElement.GradientPercentage
UIChartElement.GradientPercentage2
UIChartElement.NumberOfColors
UIChartElement.BorderLeftColor
UIChartElement.BorderTopColor
UIChartElement.BorderRightColor
UIChartElement.BorderBottomColor
UIChartElement.BorderLeftShadowColor
UIChartElement.BorderTopShadowColor
UIChartElement.BorderRightShadowColor
UIChartElement.BorderBottomShadowColor
UIChartElement.BorderBoxStyle
UIChartElement.BorderDrawMode
UIChartElement.BorderWidth
UIChartElement.BorderLeftWidth
UIChartElement.BorderTopWidth
UIChartElement.BorderRightWidth
UIChartElement.BorderBottomWidth
UIChartElement.BorderGradientAngle
UIChartElement.BorderGradientStyle
UIChartElement.BorderColor
UIChartElement.BorderColor2
UIChartElement.BorderColor3
UIChartElement.BorderColor4
UIChartElement.BorderInnerColor
UIChartElement.BorderInnerColor2
UIChartElement.BorderInnerColor3
UIChartElement.BorderInnerColor4
UIChartElement.BorderDashStyle
UIChartElement.BorderDashPattern
UIChartElement.BorderCornerRadius
UIChartElement.Size
UIChartElement.Shape
UIChartElement.BackgroundShape
UIChartElement.Padding
UIChartElement.SmoothingMode
UIChartElement.IsAttached
UIChartElement.DpiScaleFactor
UIChartElement.IBorderElement.ForeColor
UIChartElement.IBorderElement.ForeColor2
UIChartElement.IBorderElement.ForeColor3
UIChartElement.IBorderElement.ForeColor4
UIChartElement.IBorderElement.InnerColor
UIChartElement.IBorderElement.InnerColor2
UIChartElement.IBorderElement.InnerColor3
UIChartElement.IBorderElement.InnerColor4
UIChartElement.IBorderElement.BoxStyle
UIChartElement.IBorderElement.GradientStyle
UIChartElement.IBorderElement.GradientAngle
UIChartElement.IBorderElement.SmoothingMode
UIChartElement.IBoxStyle.LeftColor
UIChartElement.IBoxStyle.LeftShadowColor
UIChartElement.IBoxStyle.TopColor
UIChartElement.IBoxStyle.TopShadowColor
UIChartElement.IBoxStyle.RightColor
UIChartElement.IBoxStyle.RightShadowColor
UIChartElement.IBoxStyle.BottomColor
UIChartElement.IBoxStyle.BottomShadowColor
UIChartElement.IBoxElement.Width
UIChartElement.IBoxElement.LeftWidth
UIChartElement.IBoxElement.TopWidth
UIChartElement.IBoxElement.RightWidth
UIChartElement.IBoxElement.BottomWidth
UIChartElement.IBoxElement.Offset
UIChartElement.IBoxElement.BorderSize
UIChartElement.IBoxElement.HorizontalWidth
UIChartElement.IBoxElement.VerticalWidth
UIChartElement.Class
UIChartElement.VisualState
UIChartElement.ThemeRole
UIChartElement.ChildrenHierarchy
UIChartElement.IStylableNode.Children
UIChartElement.IStylableNode.Parent
UIChartElement.Style
UIChartElement.StateManager
UIChartElement.FallbackToDefaultTheme
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(PropertyDescriptor)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.IsPropertyCancelable(RadPropertyMetadata)
RadObject.PropertyValues
RadObject.IsDesignMode
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.OnBitStateChanged(Int64, Boolean, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.PerformDispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll

Syntax

public class PieSeries : ChartSeries, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider

Constructors

PieSeries()

Initializes a new instance of the PieSeries class.

Declaration
public PieSeries()

PieSeries(String)

Initializes a new instance of the PieSeries class with the specified value member.

Declaration
public PieSeries(string valueMember)
Parameters
System.String valueMember

The name of the property that contains the data values for the pie segments.

PieSeries(String, String)

Initializes a new instance of the PieSeries class with the specified value and legend title members.

Declaration
public PieSeries(string valueMember, string legendTitleMember)
Parameters
System.String valueMember

The name of the property that contains the data values for the pie segments.

System.String legendTitleMember

The name of the property that contains the legend titles for the pie segments.

Fields

LabelModeProperty

Identifies the LabelMode dependency property.

Declaration
public static readonly RadProperty LabelModeProperty
Field Value
RadProperty

LabelsOffsetFromCenterProperty

Identifies the LabelsOffsetFromCenter dependency property.

Declaration
public static readonly RadProperty LabelsOffsetFromCenterProperty
Field Value
RadProperty

RadiusFactorProperty

Identifies the RadiusFactor dependency property.

Declaration
public static readonly RadProperty RadiusFactorProperty
Field Value
RadProperty

Properties

LabelMode

Gets or sets the label positioning mode for the pie chart labels.

Declaration
public PieLabelModes LabelMode { get; set; }
Property Value
PieLabelModes

LabelsOffsetFromCenter

Gets or sets the distance multiplier that determines how far labels are positioned from the center of the pie.

Declaration
public float LabelsOffsetFromCenter { get; set; }
Property Value
System.Single

LegendTitleMember

Gets or sets the name of the data source property that provides legend titles for the pie segments.

Declaration
public string LegendTitleMember { get; set; }
Property Value
System.String

Model

Gets the data model that represents the pie series structure and behavior.

Declaration
public override ChartSeriesModel Model { get; }
Property Value
ChartSeriesModel

Overrides
ChartSeries.Model

RadiusFactor

Gets or sets a multiplier that determines the final radius of the pie chart relative to its default size.

Declaration
public float RadiusFactor { get; set; }
Property Value
System.Single

Range

Gets or sets the angular range that defines the starting and sweep angles of the pie chart.

Declaration
public AngleRange Range { get; set; }
Property Value
AngleRange

ValueMember

Gets or sets the name of the data source property that provides values for the pie segments.

Declaration
public string ValueMember { get; set; }
Property Value
System.String

Methods

BindMembers()

Binds the data members to the appropriate data point properties.

Declaration
protected override void BindMembers()
Overrides
ChartSeries.BindMembers()

CreateDefaultDataPoint()

Creates a default pie data point for the series.

Declaration
protected override DataPoint CreateDefaultDataPoint()
Returns
DataPoint

A new DataPoint instance suitable for pie charts.

Overrides
ChartSeries.CreateDefaultDataPoint()

CreateModel()

Creates the data model for the pie series and initializes the data point collection.

Declaration
protected override ChartDataPointCollection CreateModel()
Returns
ChartDataPointCollection

A ChartDataPointCollection containing the pie data points.

Overrides
ChartSeries.CreateModel()

CreatePointElement(DataPoint)

Creates a visual element for the specified pie data point.

Declaration
protected override DataPointElement CreatePointElement(DataPoint point)
Parameters
DataPoint point

The data point for which to create the visual element.

Returns
DataPointElement

A DataPointElement representing the pie segment.

Overrides
ChartSeries.CreatePointElement(DataPoint)

DisposeManagedResources()

Releases the managed resources used by the pie series.

Declaration
protected override void DisposeManagedResources()
Overrides
ChartSeries.DisposeManagedResources()

GetPieSegmentColors(Int32)

Gets the palette entry for the pie segment at the specified index.

Declaration
public PaletteEntry GetPieSegmentColors(int i)
Parameters
System.Int32 i

The index of the pie segment.

Returns
PaletteEntry

A PaletteEntry containing the colors for the segment, or null if no palette is available.

OnApplyPalette()

Applies the current palette to all pie point elements, setting their background and border colors.

Declaration
protected override void OnApplyPalette()
Overrides
ChartSeries.OnApplyPalette()

OnAttached(UIChartElement)

Called when the series is attached to a parent chart element.

Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
UIChartElement parent

The parent chart element, which must be a PieArea.

Overrides
ChartSeries.OnAttached(UIChartElement)

OnDettached()

Called when the series is detached from its parent chart element.

Declaration
protected override void OnDettached()
Overrides
ChartSeries.OnDettached()

OnNotifyPropertyChanged(String)

Raises the property changed event and updates the data model.

Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String propertyName

The name of the property that changed.

Overrides
RadObject.OnNotifyPropertyChanged(String)

ValidatePoint(DataPoint)

Validates that the specified data point is compatible with this pie series.

Declaration
protected override void ValidatePoint(DataPoint item)
Parameters
DataPoint item

The data point to validate.

Overrides
ChartSeries.ValidatePoint(DataPoint)

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.