The ChartBackgroundType enumeration contains types of filling for chart components (chart area, legend, data series and so on).
It is used by the following properties and methods:
| Value | Brief description |
| 0 | None. No background. |
| 1 | Color. Solid color. When this type is selected, define the basic color: IChartBackgroundInfo.Color. |
| 2 | Gradient. Gradient fill. When this type is selected, specify start color (IChartBackgroundInfo.Color) and end color of the gradient (IChartBackgroundInfo.GradientColor), as well as gradient angle (IChartBackgroundInfo.GradientAngle). |
| 3 | Picture. Image. When this type is selected, specify the image (IChartBackgroundInfo.Image) and the image position (IChartBackgroundInfo.ImageDrawStyle). |
| 4 | Hatch. Hatch. When this type is selected, specify fill color (IChartBackgroundInfo.Color) and parameters of hatching (IChartBackgroundInfo.HatchStyle). |
| 5 | Glamour. Glamour. When this type is selected, specify only the basic color: IChartBackgroundInfo.Color. This type of fill can be applied only to a data series (a column or a row). |
| 6 | Alternate. With alternating colors along the Y axis. On selecting this type you need to set the first color nearest to the X axis (IChartBackgroundInfo.Color) and the second color positioned farther from the X axis (IChartBackgroundInfo.GradientColor). |
| 7 | Custom. Reserved / Reserved. |
| 8 | Automatic. Automatic fill. |
| 10 | AutoGradient. Automatic gradient fill. Unhomogeneous fill with basic color. |
Fill is available for the following series types:
Bar.
Sector.
Series with areas.
3D line series.
Color and Hatch fill types are only available for points and dashes.
See also: