Skip to content

BackgroundFillStyle Property

Description

Gets/sets the background fill style.

Property Type

Read-only property

Syntax (Visual Basic)

Public Property BackgroundFillStyle() As [ChartFillStyle](XtremeChartControl~ChartFillStyle.md)

Remarks

Most of the chart elements have a fill style that can be applied.

Click here for full details and sample code.

Example

Dim Diagram As ChartDiagram2D  
Set Diagram = ChartControl.Content.Diagrams(0)  

Diagram.BackgroundColor = RGB(170, 125, 75)  
Diagram.BackgroundColor2 = RGB(0, 50, 75)  

Diagram.BackgroundFillStyle.FillMode = xtpChartFillGradient  
Diagram.BackgroundFillStyle.GradientAngle = xtpChartGradientBottomRightToTopLeft  
Diagram.AxisX.Interlaced = False

See Also

ChartDiagram2D Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.