ChartModel
Overview
ChartModel is a class in Aspose.Cells FOSS for Java.
Internal model for an embedded chart.
This class provides 37 methods for working with ChartModel objects in Java programs.
Available methods include: getChartImageCount, getChartRelContent, getChartRels, getChartType, getExtentCx, getExtentCy, getLowerRightColumn, getLowerRightColumnOffset, getLowerRightRow, getLowerRightRowOffset, getName, getOriginalRelId, and 25 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: chartEx, chartImageCount, chartRelContent, chartRels, chartType, extentCx, and 14 more.
Description
ChartModel is a class in the Aspose.Cells FOSS library for Java that exposes 37 methods and 20 properties for programmatic use.
Core capabilities include: string; string; long. These operations enable developers to integrate chartmodel functionality directly into Java applications.
The class also provides the name property (gets the name), the chartType property (gets the chart type), the upperLeftRow property (gets the upper left row).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Gets the name. |
chartType | String | Read | Gets the chart type. |
upperLeftRow | int | Read | Gets the upper left row. |
upperLeftColumn | int | Read | Gets the upper left column. |
upperLeftRowOffset | long | Read | Gets the upper left row offset. |
upperLeftColumnOffset | long | Read | Gets the upper left column offset. |
lowerRightRow | int | Read | Gets the lower right row. |
lowerRightColumn | int | Read | Gets the lower right column. |
lowerRightRowOffset | long | Read | Gets the lower right row offset. |
lowerRightColumnOffset | long | Read | Gets the lower right column offset. |
extentCx | long | Read | Gets the extent cx. |
extentCy | long | Read | Gets the extent cy. |
chartEx | boolean | Read | Gets the chart ex. |
rawChartXml | String | Read | Gets the raw chart xml. |
rawGraphicFrameXml | String | Read | Gets the raw graphic frame xml. |
rawCNvPrExtLst | String | Read | Gets the raw c nv pr ext lst. |
chartRels | List<String[]> | Read | Gets the chart rels. |
chartRelContent | Map<String, byte[]> | Read | Gets the chart rel content. |
chartImageCount | int | Read | Returns how many image-type rels this chart has (used for global image counter). |
originalRelId | String | Read | Gets the original rel id. |
Methods
| Signature | Description |
|---|---|
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getChartType() → String | Returns the chart type. |
setChartType(chartType: String) | Sets the chart type value. |
getUpperLeftRow() → int | Returns the upper left row. |
setUpperLeftRow(upperLeftRow: int) | Sets the upper left row value. |
getUpperLeftColumn() → int | Returns the upper left column. |
setUpperLeftColumn(upperLeftColumn: int) | Sets the upper left column value. |
getUpperLeftRowOffset() → long | Returns the upper left row offset. |
setUpperLeftRowOffset(v: long) | Sets the upper left row offset value. |
getUpperLeftColumnOffset() → long | Returns the upper left column offset. |
setUpperLeftColumnOffset(v: long) | Sets the upper left column offset value. |
getLowerRightRow() → int | Returns the lower right row. |
setLowerRightRow(lowerRightRow: int) | Sets the lower right row value. |
getLowerRightColumn() → int | Returns the lower right column. |
setLowerRightColumn(lowerRightColumn: int) | Sets the lower right column value. |
getLowerRightRowOffset() → long | Returns the lower right row offset. |
setLowerRightRowOffset(v: long) | Sets the lower right row offset value. |
getLowerRightColumnOffset() → long | Returns the lower right column offset. |
setLowerRightColumnOffset(v: long) | Sets the lower right column offset value. |
getExtentCx() → long | Returns the extent cx. |
setExtentCx(extentCx: long) | Sets the extent cx value. |
getExtentCy() → long | Returns the extent cy. |
setExtentCy(extentCy: long) | Sets the extent cy value. |
isChartEx() → boolean | Returns true if chart ex is set. |
setChartEx(chartEx: boolean) | Sets the chart ex value. |
getRawChartXml() → String | Returns the raw chart xml. |
setRawChartXml(rawChartXml: String) | Sets the raw chart xml value. |
getRawGraphicFrameXml() → String | Returns the raw graphic frame xml. |
setRawGraphicFrameXml(rawGraphicFrameXml: String) | Sets the raw graphic frame xml value. |
getRawCNvPrExtLst() → String | Returns the raw c nv pr ext lst. |
setRawCNvPrExtLst(rawCNvPrExtLst: String) | Sets the raw c nv pr ext lst value. |
getChartRels() → List<String[]> | Returns the chart rels. |
getChartRelContent() → Map<String, byte[]> | Returns the chart rel content. |
getChartImageCount() → int | Returns how many image-type rels this chart has (used for global image counter). |
getOriginalRelId() → String | Returns the original rel id. |
setOriginalRelId(v: String) | Sets the original rel id value. |