Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Appearance Class / FillMode Property
Example


In This Topic
    FillMode Property
    In This Topic
    Defines the way in which fill effects are applied on the series data points.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Defines the way in which fill effects are applied on the series data points.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property FillMode As AppearanceFillMode
    'Usage
     
    Dim instance As Appearance
    Dim value As AppearanceFillMode
     
    instance.FillMode = value
     
    value = instance.FillMode
    [Category("General")]
    [Description("Defines the way in which fill effects are applied on the series data points.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public AppearanceFillMode FillMode {get; set;}
    Example
    The following code displays all bars of a bar series with green color.
    bar.Appearance.FillMode = AppearanceFillMode.Series
    bar.BarFillEffect.SetSolidColor(Color.Green)
    bar.Appearance.FillMode = AppearanceFillMode.Series;
    bar.BarFillEffect.SetSolidColor(Color.Green);
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also