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.
|
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
getSlide
getPresentation
public 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 IChart
public 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 IChart
public 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 IChart
public final int getDisplayBlanksAs()
Returns or sets the way to plot blank cells on a chart.
Read/write DisplayBlanksAsType
.
getDisplayBlanksAs
in interface IChart
public final void setDisplayBlanksAs(int value)
Returns or sets the way to plot blank cells on a chart.
Read/write DisplayBlanksAsType
.
setDisplayBlanksAs
in interface IChart
public final IChartData getChartData()
Returns information about the linked or embedded data associated with a chart.
Read-only IChartData
.
getChartData
in interface IChart
public 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 IChart
public final boolean hasDataTable()
Determines whether a chart has a data table.
Read/write boolean
.
hasDataTable
in interface IChart
public final void setDataTable(boolean value)
Determines whether a chart has a data table.
Read/write boolean
.
setDataTable
in interface IChart
public 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 IChart
public 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 IChart
public final IRotation3D getRotation3D()
Returns a 3D rotation of a chart.
Read-only IRotation3D
.
getRotation3D
in interface IChart
public 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 IChart
public 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 IChart
public 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.
Read-only IChartTextFormat
.
getTextFormat
in interface IFormattedTextContainer
public final IThemeEffectiveData createThemeEffective()
Returns an effective theme for this chart.
createThemeEffective
in interface IThemeable
public final IOverrideThemeManager getThemeManager()
Returns theme manager.
Read-only IOverrideThemeManager
.
getThemeManager
in interface IOverrideThemeable
public final IGroupShape getUserShapes()
Specify the shapes drawn on top of the chart.
Read-only IGroupShape
.
getUserShapes
in interface IChart
public 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 IChart
public final void setShowDataLabelsOverMaximum(boolean value)
Specifies data labels over the maximum of the chart shall be shown.
Read/write boolean
.
setShowDataLabelsOverMaximum
in interface IChart
public final boolean hasRoundedCorners()
Specifies the chart area shall have rounded corners.
Read/write boolean
.
hasRoundedCorners
in interface IChart
public final void setRoundedCorners(boolean value)
Specifies the chart area shall have rounded corners.
Read/write boolean
.
setRoundedCorners
in interface IChart
public final IChart getChart()
IChartComponent
Returns the chart.
Read-only IChart
.
getChart
in interface IChartComponent