PlotArea.BackgroundColor
- Last UpdatedFeb 25, 2021
- 1 minute read
The PlotArea.BackgroundColor property is a read-write property that gets or sets the color of the plot area of the graph.
Syntax
PlotArea.BackgroundColor = color;
Result = PlotArea.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.