ChartInterior Properties | 
The ChartInterior type exposes the following members.
| Name | Description | |
|---|---|---|
| 
 | 
BackgroundColor | 
 
Background color.
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
BackgroundColorObject | 
 
Background color (RGB).
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
BackgroundKnownColor | 
 
Background excel color.
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
ForegroundColor | 
 
Foreground color.
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
ForegroundColorObject | 
 
Foreground color (RGB).
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
ForegroundKnownColor | 
 
Foreground excel color.
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
Parent | 
 
Reference to Parent object. Read-only.
 
(Inherited from
XlsObject
.)
 | 
| 
 | 
Pattern | 
 
Area pattern.
 
(Inherited from
XlsChartInterior
.)
The following code illustrates the use of Pattern property:
 
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create chart and set range</para><para>IChart chart = worksheet.Charts.Add();</para><para>chart.DataRange = worksheet.Range["B2:C6"];</para><para>//Set chart type</para><para>chart.ChartType = ExcelChartType.Cone3DClustered;</para><para>//Set the pattern of the chart</para><para>chart.ChartArea.Interior.Pattern = ExcelPatternType.Angle;</para><para>//Save to file</para><para>workbook.SaveToFile("Chart.xlsx");</para>
 | 
| 
 | 
ReferenceCount | 
 
Get quantity of instance references.
 
(Inherited from
XlsObject
.)
 | 
| 
 | 
SwapColorsOnNegative | 
 
Foreground and background are swapped when the data value is negative.
 
(Inherited from
XlsChartInterior
.)
 | 
| 
 | 
UseDefaultFormat | 
 
Indicates whether use default format.
 
(Inherited from
XlsChartInterior
.)
 |