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

Represents a strongly-typed collection of PieSeriesItem objects for Pie/Donut series. Provides helper Add overloads to simplify inline declaration and updates view state for each item.

Definition

Namespace:Telerik.Web.UI.HtmlChart.PlotArea.Series.SeriesItemCollections

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class PieSeriesItemCollection : StronglyTypedStateManagedCollection<PieSeriesItem>, IList, ICollection, IEnumerable, IStateManager

Inheritance: objectStateManagedCollectionStronglyTypedStateManagedCollection<PieSeriesItem>PieSeriesItemCollection

Implements: ICollectionIEnumerableIListIStateManager

Inherited Members StronglyTypedStateManagedCollection<PieSeriesItem>.Contains(PieSeriesItem)StronglyTypedStateManagedCollection<PieSeriesItem>.CopyTo(PieSeriesItem[], int)StronglyTypedStateManagedCollection<PieSeriesItem>.AddRange(IEnumerable<PieSeriesItem>)StronglyTypedStateManagedCollection<PieSeriesItem>.IndexOf(PieSeriesItem)StronglyTypedStateManagedCollection<PieSeriesItem>.Insert(int, PieSeriesItem)StronglyTypedStateManagedCollection<PieSeriesItem>.Remove(PieSeriesItem)StronglyTypedStateManagedCollection<PieSeriesItem>.RemoveAt(int)StronglyTypedStateManagedCollection<PieSeriesItem>.this[int]StronglyTypedStateManagedCollection<PieSeriesItem>.ListStateManagedCollection.Clear()StateManagedCollection.CopyTo(Array, int)StateManagedCollection.CreateKnownType(int)StateManagedCollection.GetEnumerator()StateManagedCollection.GetKnownTypes()StateManagedCollection.OnClear()StateManagedCollection.OnClearComplete()StateManagedCollection.OnValidate(object)StateManagedCollection.OnInsert(int, object)StateManagedCollection.OnInsertComplete(int, object)StateManagedCollection.OnRemove(int, object)StateManagedCollection.OnRemoveComplete(int, object)StateManagedCollection.SetDirty()StateManagedCollection.Countobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public PieSeriesItemCollection()

Methods

Adds a pie item with value, background color, name, exploded, visibility and legend visibility.

C#
public void Add(decimal? y, Color backgroundColor, string name, bool exploded, bool visible, bool visibleInLegend)
Parameters:ydecimal?backgroundColorColornamestringexplodedboolvisibleboolvisibleInLegendbool

Adds a pie item with value, background color, name, exploded and visibility.

C#
public void Add(decimal? y, Color backgroundColor, string name, bool exploded, bool visible)
Parameters:ydecimal?backgroundColorColornamestringexplodedboolvisiblebool

Adds a pie item with value, background color, name and exploded state.

C#
public void Add(decimal? y, Color backgroundColor, string name, bool exploded)
Parameters:ydecimal?backgroundColorColornamestringexplodedbool

Adds a pie item with value, background color and name.

C#
public void Add(decimal? y, Color backgroundColor, string name)
Parameters:ydecimal?backgroundColorColornamestring

Adds a pie item with value and background color.

C#
public void Add(decimal? y, Color backgroundColor)
Parameters:ydecimal?backgroundColorColor

Adds a pie item with value (Y).

C#
public void Add(decimal? y)
Parameters:ydecimal?
C#
public void Add(PieSeriesItem item)
Parameters:itemPieSeriesItem
C#
protected override void SetDirtyObject(object o)
Parameters:oobject

Overrides: StronglyTypedStateManagedCollection<PieSeriesItem>.SetDirtyObject(object)