public class Chart extends GraphicalObject implements IChart
Represents an graphic chart on a slide.
| Modifier and Type | Method and Description |
|---|---|
IThemeEffectiveData |
createThemeEffective()
Returns an effective theme for this chart.
|
IAxesManager |
getAxes()
Provide access to chart axes.
|
IChartWall |
getBackWall()
Returns an object which allows to change format of the back wall of a 3D chart.
|
IChart |
getChart()
Returns the chart.
|
IChartData |
getChartData()
Returns information about the linked or embedded data associated with a chart.
|
IDataTable |
getChartDataTable()
Returns a data table of a chart.
|
IChartTitle |
getChartTitle()
Returns or sets a chart title.
|
int |
getDisplayBlanksAs()
Returns or sets the way to plot blank cells on a chart.
|
IChartWall |
getFloor()
Returns an object which allows to change format of the floor of a 3D chart.
|
ILegend |
getLegend()
Returns or sets a legend for a chart.
|
IChartPlotArea |
getPlotArea()
Represents the plot area of a chart.
|
boolean |
getPlotVisibleCellsOnly()
Determines whether the only visible cells are plotted.
|
IRotation3D |
getRotation3D()
Returns a 3D rotation of a chart.
|
boolean |
getShowDataLabelsOverMaximum()
Specifies data labels over the maximum of the chart shall be shown.
|
IChartWall |
getSideWall()
Returns an object which allows to change format of the side wall of a 3D chart.
|
int |
getStyle()
Returns or sets the chart style.
|
IChartTextFormat |
getTextFormat()
Returns chart text format.
|
IOverrideThemeManager |
getThemeManager()
Returns theme manager.
|
int |
getType()
Returns or sets the chart type.
|
IGroupShape |
getUserShapes()
Specify the shapes drawn on top of the chart.
|
boolean |
hasDataTable()
Determines whether a chart has a data table.
|
boolean |
hasLegend()
Determines whether a chart has a legend.
|
boolean |
hasRoundedCorners()
Specifies the chart area shall have rounded corners.
|
boolean |
hasTitle()
Determines whether a chart has a visible title.
|
void |
setDataTable(boolean value)
Determines whether a chart has a data table.
|
void |
setDisplayBlanksAs(int value)
Returns or sets the way to plot blank cells on a chart.
|
void |
setLegend(boolean value)
Determines whether a chart has a legend.
|
void |
setPlotVisibleCellsOnly(boolean value)
Determines whether the only visible cells are plotted.
|
void |
setRoundedCorners(boolean value)
Specifies the chart area shall have rounded corners.
|
void |
setShowDataLabelsOverMaximum(boolean value)
Specifies data labels over the maximum of the chart shall be shown.
|
void |
setStyle(int value)
Returns or sets the chart style.
|
void |
setTitle(boolean value)
Determines whether a chart has a visible title.
|
void |
setType(int value)
Returns or sets the chart type.
|
void |
validateChartLayout()
Calculates actual values of chart elements.
|
getGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvgequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvggetHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOvergetSlidegetPresentationpublic final void validateChartLayout()
Calculates actual values of chart elements. The actual values include position of elements that implement IActualLayout interface (IActualLayout.ActualX, IActualLayout.ActualY, IActualLayout.ActualWidth, IActualLayout.ActualHeight) and actual axes values (IAxis.ActualMaxValue, IAxis.ActualMinValue, IAxis.ActualMajorUnit, IAxis.ActualMinorUnit, IAxis.ActualMajorUnitScale, IAxis.ActualMinorUnitScale)
validateChartLayout in interface IChartpublic final boolean getPlotVisibleCellsOnly()
Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read/write boolean.
getPlotVisibleCellsOnly in interface IChartpublic final void setPlotVisibleCellsOnly(boolean value)
Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read/write boolean.
setPlotVisibleCellsOnly in interface IChartpublic final int getDisplayBlanksAs()
Returns or sets the way to plot blank cells on a chart.
Read/write DisplayBlanksAsType.
getDisplayBlanksAs in interface IChartpublic final void setDisplayBlanksAs(int value)
Returns or sets the way to plot blank cells on a chart.
Read/write DisplayBlanksAsType.
setDisplayBlanksAs in interface IChartpublic final IChartData getChartData()
Returns information about the linked or embedded data associated with a chart.
Read-only IChartData.
getChartData in interface IChartpublic final boolean hasTitle()
Determines whether a chart has a visible title. Read/write boolean.
public final void setTitle(boolean value)
Determines whether a chart has a visible title. Read/write boolean.
public final IChartTitle getChartTitle()
Returns or sets a chart title.
Read-only IChartTitle.
getChartTitle in interface IChartpublic final boolean hasDataTable()
Determines whether a chart has a data table. Read/write boolean.
hasDataTable in interface IChartpublic final void setDataTable(boolean value)
Determines whether a chart has a data table. Read/write boolean.
setDataTable in interface IChartpublic final boolean hasLegend()
Determines whether a chart has a legend. Read/write boolean.
public final void setLegend(boolean value)
Determines whether a chart has a legend. Read/write boolean.
public final IDataTable getChartDataTable()
Returns a data table of a chart.
Read-only IDataTable.
getChartDataTable in interface IChartpublic final int getStyle()
Returns or sets the chart style.
Read/write StyleType.
public final void setStyle(int value)
Returns or sets the chart style.
Read/write StyleType.
public final int getType()
Returns or sets the chart type.
Read/write ChartType.
public final void setType(int value)
Returns or sets the chart type.
Read/write ChartType.
public final IChartPlotArea getPlotArea()
Represents the plot area of a chart.
Read-only IChartPlotArea.
getPlotArea in interface IChartpublic final IRotation3D getRotation3D()
Returns a 3D rotation of a chart.
Read-only IRotation3D.
getRotation3D in interface IChartpublic final IChartWall getBackWall()
Returns an object which allows to change format of the back wall of a 3D chart.
Read-only IChartWall.
getBackWall in interface IChartpublic final IChartWall getSideWall()
Returns an object which allows to change format of the side wall of a 3D chart.
Read-only IChartWall.
getSideWall in interface IChartpublic final IChartWall getFloor()
Returns an object which allows to change format of the floor of a 3D chart.
Read-only IChartWall.
public final IChartTextFormat getTextFormat()
Returns chart text format.
The property is not applicable for the following types: ChartType.Treemap, ChartType.Sunburst,
ChartType.Waterfall, ChartType.Histogram, ChartType.Funnel,ChartType.BoxAndWhisker.
Read-only IChartTextFormat.
getTextFormat in interface IFormattedTextContainerpublic final IThemeEffectiveData createThemeEffective()
Returns an effective theme for this chart.
createThemeEffective in interface IThemeableIThemeEffectiveDatapublic final IOverrideThemeManager getThemeManager()
Returns theme manager.
Read-only IOverrideThemeManager.
getThemeManager in interface IOverrideThemeablepublic final IGroupShape getUserShapes()
Specify the shapes drawn on top of the chart.
Read-only IGroupShape.
getUserShapes in interface IChartpublic final IAxesManager getAxes()
Provide access to chart axes.
Read-only IAxesManager.
public final boolean getShowDataLabelsOverMaximum()
Specifies data labels over the maximum of the chart shall be shown. Read/write boolean.
getShowDataLabelsOverMaximum in interface IChartpublic final void setShowDataLabelsOverMaximum(boolean value)
Specifies data labels over the maximum of the chart shall be shown. Read/write boolean.
setShowDataLabelsOverMaximum in interface IChartpublic final boolean hasRoundedCorners()
Specifies the chart area shall have rounded corners. Read/write boolean.
hasRoundedCorners in interface IChartpublic final void setRoundedCorners(boolean value)
Specifies the chart area shall have rounded corners. Read/write boolean.
setRoundedCorners in interface IChartpublic final IChart getChart()
IChartComponent
Returns the chart.
Read-only IChart.
getChart in interface IChartComponentCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.