Spread ASP.NET 16
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / PieSeries Class / PieFills Property
Example


In This Topic
    PieFills Property
    In This Topic
    Gets the collection of pie fills for the series.
    Syntax
    'Declaration
     
    Public ReadOnly Property PieFills As FillCollection
    'Usage
     
    Dim instance As PieSeries
    Dim value As FillCollection
     
    value = instance.PieFills
    public FillCollection PieFills {get;}
    Remarks

    Use the PieFill property to assign a fill to the entire series. Use the PieFills property to assign a fill to a specific point. Assign items to the collection using the Add method, AddRange method, or the indexer.

    The number of items in this collection does not have to match the number of data points in the series.  If this collection has fewer items, then the extra data points are treated as null point level setting (i.e. unsigned point level setting).  If this collection has more items, then the extra items are not used (i.e. extra point level settings are ignored).  This collection is initially empty.

    If the indexer is called with an index that is greater than the size of the collection, then the collection is automatically expanded with null values up to the specified index.

    Example
    This example sets the PieFills property and creates a doughnut chart with two series.
    See Also