XlsChartInterior module

class XlsChartInterior.XlsChartInterior

Bases: XlsObject, IChartInterior, ICloneParent

property BackgroundColor: Color
<summary>

Background color.

</summary>

property BackgroundColorObject: OColor
<summary>

Background color (RGB).

</summary>

property BackgroundKnownColor: ExcelColors
<summary>

Background excel color.

</summary>

Clone
property ForegroundColor: Color
<summary>

Foreground color.

</summary>

property ForegroundColorObject: OColor
<summary>

Foreground color (RGB).

</summary>

property ForegroundKnownColor: ExcelColors
<summary>

Foreground excel color.

</summary>

InitForFrameFormat
property Pattern: ExcelPatternType
<summary>
Area pattern.

<example>The following code illustrates the use of Pattern property: <code>

//Create worksheet Workbook workbook = new Workbook(); workbook.LoadFromFile(“Sample.xlsx”); Worksheet worksheet = workbook.Worksheets[0]; //Create chart and set range IChart chart = worksheet.Charts.Add(); chart.DataRange = worksheet.Range[“B2:C6”]; //Set chart type chart.ChartType = ExcelChartType.Cone3DClustered; //Set the pattern of the chart chart.ChartArea.Interior.Pattern = ExcelPatternType.Angle; //Save to file workbook.SaveToFile(“Chart.xlsx”); </code> </example>

</summary>

property SwapColorsOnNegative: bool
<summary>

Foreground and background are swapped when the data value is negative.

</summary>

property UseDefaultFormat: bool
<summary>

Indicates whether use default format.

</summary>