Chart.BackgroundColor
- Last UpdatedFeb 25, 2021
- 1 minute read
The Chart.BackgroundColor property is a read-write property that gets or sets the background color of the chart.
Syntax
Chart.BackgroundColor = color;
Result = Chart.BackgroundColor;
Remarks
The default is white.
Color is a .NET Framework data type. You can use various color methods to set the color, such as a predefined color name, FromARGB(), FromKnownColor(), and FromName(). For a list of the .NET color names and the corresponding hexadecimal codes, see .NET Colors. For more information on the color methods, see the Microsoft documentation for .NET Framework development.