ChartModel
Overview
ChartModel is a class in Aspose.Cells FOSS for .NET.
Represents a chart embedded in a worksheet drawing layer.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | Gets or sets the chart display name. |
ChartType | ChartType | Read/Write | Gets or sets the detected chart type. |
UpperLeftRow | int | Read/Write | Gets or sets the zero-based upper-left row of the chart anchor. |
UpperLeftColumn | int | Read/Write | Gets or sets the zero-based upper-left column of the chart anchor. |
UpperLeftRowOffset | long | Read/Write | Gets or sets the upper-left row offset in EMU. |
UpperLeftColumnOffset | long | Read/Write | Gets or sets the upper-left column offset in EMU. |
LowerRightRow | int | Read/Write | Gets or sets the zero-based lower-right row of the chart anchor. |
LowerRightColumn | int | Read/Write | Gets or sets the zero-based lower-right column of the chart anchor. |
LowerRightRowOffset | long | Read/Write | Gets or sets the lower-right row offset in EMU. |
LowerRightColumnOffset | long | Read/Write | Gets or sets the lower-right column offset in EMU. |
ExtentCx | long | Read/Write | Gets or sets the width extent in EMU (0 = compute from anchor). |
ExtentCy | long | Read/Write | Gets or sets the height extent in EMU (0 = compute from anchor). |
RawChartXml | string | Read/Write | Gets or sets the raw XML content of the chart definition file (xl/charts/chart{N}.xml or chartEx{N}.xml). |
RawGraphicFrameXml | string | Read/Write | Gets or sets the raw XML of the graphicFrame container element (mc:AlternateContent for chartex charts). |
OriginalRId | string | Read/Write | Gets or sets the original relationship ID from the drawing (e.g. |
IsChartEx | bool | Read/Write | Gets or sets whether this chart uses the chartex format (xl/charts/chartEx{N}.xml, different relationship and content types). |
CompanionFiles | List<ChartCompanionFile> | Read | Gets the companion files referenced by the chart (style, colors, etc.). |