All Controls


Edit Background Color

The background color of a chart can be changed to any supported color.

The first step is to include the necessary namespaces for the controls and add a new chart.

Change the Background Color

Below, we will change the background color of an Individuals chart (named indChart in the examples below). The process is similar for the other charts:

[Visual Basic]
' Set the background color to gray
indChart.BackColor = Color.Gray

[Visual C#]
// Set the background color to gray
indChart.BackColor = Color.Gray;

After the background color has been changed, the resulting chart should look similar to the following:

Individuals chart with gray background