public final class XSSFChart extends XDDFChart
POIXMLDocumentPart.RelationPart
axes, chart, chartSpace, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_X, DEFAULT_Y
Modifier | Constructor and Description |
---|---|
protected |
XSSFChart()
Create a new SpreadsheetML chart
|
protected |
XSSFChart(PackagePart part)
Construct a SpreadsheetML chart from a package part.
|
Modifier and Type | Method and Description |
---|---|
protected void |
commit()
save chart xml
|
protected POIXMLFactory |
getChartFactory() |
protected POIXMLRelation |
getChartRelation() |
protected POIXMLRelation |
getChartWorkbookRelation() |
XSSFGraphicFrame |
getGraphicFrame()
Returns the parent graphic frame.
|
java.lang.String |
getTitleFormula()
Get the chart title formula expression if there is one
|
XSSFRichTextString |
getTitleText()
Returns the title static text, or null if none is set.
|
protected void |
setGraphicFrame(XSSFGraphicFrame frame)
Sets the parent graphic frame.
|
void |
setTitleFormula(java.lang.String formula)
Set the formula expression to use for the chart title
|
clear, clearChartSeries, createCategoryAxis, createData, createDateAxis, createRelationshipInChart, createSeriesAxis, createValueAxis, deleteLegend, deleteShapeProperties, displayBlanksAs, fillSheet, findDefinedParagraphProperty, findDefinedRunProperty, formatRange, getAxes, getChartIndex, getChartSeries, getCTChart, getCTChartSpace, getCTPlotArea, getFormattedTitle, getOrAddLegend, getOrAddManualLayout, getOrAddShapeProperties, getOrAddView3D, getTitle, getTitleOverlay, getWorkbook, importContent, incrementSeriesCount, isPlotOnlyVisibleCells, plot, removeTitle, saveWorkbook, setAutoTitleDeleted, setBackWall, setChartIndex, setExternalId, setFloor, setPlotOnlyVisibleCells, setSheetTitle, setSideWall, setTitleOverlay, setTitleText, setValueRange, setWorkbook
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommitted, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommitted, toString
protected XSSFChart()
protected XSSFChart(PackagePart part) throws java.io.IOException, org.apache.xmlbeans.XmlException
part
- the package part holding the chart data, the content type must
be
application/vnd.openxmlformats-officedocument.drawingml.chart+xml
java.io.IOException
org.apache.xmlbeans.XmlException
protected POIXMLRelation getChartRelation()
getChartRelation
in class XDDFChart
protected POIXMLRelation getChartWorkbookRelation()
getChartWorkbookRelation
in class XDDFChart
protected POIXMLFactory getChartFactory()
getChartFactory
in class XDDFChart
protected void commit() throws java.io.IOException
XDDFChart
public XSSFGraphicFrame getGraphicFrame()
protected void setGraphicFrame(XSSFGraphicFrame frame)
public XSSFRichTextString getTitleText()
public java.lang.String getTitleFormula()
public void setTitleFormula(java.lang.String formula)
formula
- Copyright 2021 The Apache Software Foundation or its licensors, as applicable.