Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Server.v4.4 Assembly / Xceed.Chart.Server Namespace / ChartServerControl Class / Background Property
Example


In This Topic
    Background Property (ChartServerControl)
    In This Topic
    Gives you access to the Background object
    Syntax
    'Declaration
     
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    <CategoryAttribute("Xceed Chart for ASP.NET")>
    <DescriptionAttribute("Chart background")>
    <BinarySerializationPropertyAttribute()>
    Public Property Background As Background
    'Usage
     
    Dim instance As ChartServerControl
    Dim value As Background
     
    instance.Background = value
     
    value = instance.Background
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [Category("Xceed Chart for ASP.NET")]
    [Description("Chart background")]
    [BinarySerializationProperty()]
    public Background Background {get; set;}
    Remarks
    The Background object controls various aspects of the chart background including fill effect, frame and interactivity.
    Example
    The following exampe applies a gradient filling on the background.
    ChartServerControl1.Background.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.CalmWater2, 13)
    ChartServerControl1.Background.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.CalmWater2, 13);
    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