Xceed Chart for WinForms v4.4 Documentation
Background Property (ChartControl)
Example 


Xceed.Chart.v4.4 Assembly > Xceed.Chart Namespace > ChartControl Class : Background Property
Gives you access to the Background object applied on the chart background.
Syntax
'Declaration
 
<CategoryAttribute("Xceed Chart for .NET")>
<DescriptionAttribute("Chart background")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
Public Property Background As Background
'Usage
 
Dim instance As ChartControl
Dim value As Background
 
instance.Background = value
 
value = instance.Background
[Category("Xceed Chart for .NET")]
[Description("Chart background")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
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.
ChartControl.Background.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.CalmWater2, 13)
ChartControl.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

Reference

ChartControl Class
ChartControl Members