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

NameTypeAccessDescription
nameStringReadGets the name.
chartTypeStringReadGets the chart type.
upperLeftRowintReadGets the upper left row.
upperLeftColumnintReadGets the upper left column.
upperLeftRowOffsetlongReadGets the upper left row offset.
upperLeftColumnOffsetlongReadGets the upper left column offset.
lowerRightRowintReadGets the lower right row.
lowerRightColumnintReadGets the lower right column.
lowerRightRowOffsetlongReadGets the lower right row offset.
lowerRightColumnOffsetlongReadGets the lower right column offset.
extentCxlongReadGets the extent cx.
extentCylongReadGets the extent cy.
chartExbooleanReadGets the chart ex.
rawChartXmlStringReadGets the raw chart xml.
rawGraphicFrameXmlStringReadGets the raw graphic frame xml.
rawCNvPrExtLstStringReadGets the raw c nv pr ext lst.
chartRelsList<String[]>ReadGets the chart rels.
chartRelContentMap<String, byte[]>ReadGets the chart rel content.
chartImageCountintReadReturns how many image-type rels this chart has (used for global image counter).
originalRelIdStringReadGets the original rel id.

Methods

SignatureDescription
getName()StringReturns the name.
setName(name: String)Sets the name value.
getChartType()StringReturns the chart type.
setChartType(chartType: String)Sets the chart type value.
getUpperLeftRow()intReturns the upper left row.
setUpperLeftRow(upperLeftRow: int)Sets the upper left row value.
getUpperLeftColumn()intReturns the upper left column.
setUpperLeftColumn(upperLeftColumn: int)Sets the upper left column value.
getUpperLeftRowOffset()longReturns the upper left row offset.
setUpperLeftRowOffset(v: long)Sets the upper left row offset value.
getUpperLeftColumnOffset()longReturns the upper left column offset.
setUpperLeftColumnOffset(v: long)Sets the upper left column offset value.
getLowerRightRow()intReturns the lower right row.
setLowerRightRow(lowerRightRow: int)Sets the lower right row value.
getLowerRightColumn()intReturns the lower right column.
setLowerRightColumn(lowerRightColumn: int)Sets the lower right column value.
getLowerRightRowOffset()longReturns the lower right row offset.
setLowerRightRowOffset(v: long)Sets the lower right row offset value.
getLowerRightColumnOffset()longReturns the lower right column offset.
setLowerRightColumnOffset(v: long)Sets the lower right column offset value.
getExtentCx()longReturns the extent cx.
setExtentCx(extentCx: long)Sets the extent cx value.
getExtentCy()longReturns the extent cy.
setExtentCy(extentCy: long)Sets the extent cy value.
isChartEx()booleanReturns true if chart ex is set.
setChartEx(chartEx: boolean)Sets the chart ex value.
getRawChartXml()StringReturns the raw chart xml.
setRawChartXml(rawChartXml: String)Sets the raw chart xml value.
getRawGraphicFrameXml()StringReturns the raw graphic frame xml.
setRawGraphicFrameXml(rawGraphicFrameXml: String)Sets the raw graphic frame xml value.
getRawCNvPrExtLst()StringReturns 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()intReturns how many image-type rels this chart has (used for global image counter).
getOriginalRelId()StringReturns the original rel id.
setOriginalRelId(v: String)Sets the original rel id value.

See Also