XlsChartInterior Properties |
The XlsChartInterior type exposes the following members.
Name | Description | |
---|---|---|
![]() |
BackgroundColor |
Background color.
|
![]() |
BackgroundColorObject |
Background color (RGB).
|
![]() |
BackgroundKnownColor |
Background excel color.
|
![]() |
ForegroundColor |
Foreground color.
|
![]() |
ForegroundColorObject |
Foreground color (RGB).
|
![]() |
ForegroundKnownColor |
Foreground excel color.
|
![]() |
Parent |
Reference to Parent object. Read-only.
(Inherited from
XlsObject
.)
|
![]() ![]() |
Pattern |
Area pattern.
![]()
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.
|
![]() |
UseDefaultFormat |
Indicates whether use default format.
|