Chart

Chart class

Represents an graphic chart on a slide.

createThemeEffective

NameDescription
createThemeEffective ()Returns an effective theme for this chart.

Returns: ThemeEffectiveData


getAxes

NameDescription
getAxes ()Provide access to chart axes. Read-only IAxesManager.

Returns: AxesManager


getBackWall

NameDescription
getBackWall ()Returns an object which allows to change format of the back wall of a 3D chart. Read-only IChartWall.

Returns: ChartWall


getChart

NameDescription
getChart ()

Returns: Chart


getChartData

NameDescription
getChartData ()Returns information about the linked or embedded data associated with a chart. Read-only IChartData.

Returns: ChartData


getChartDataTable

NameDescription
getChartDataTable ()Returns a data table of a chart. Read-only IDataTable.

Returns: DataTable


getChartTitle

NameDescription
getChartTitle ()Returns or sets a chart title. Read-only IChartTitle.

Returns: ChartTitle


getDisplayBlanksAs

NameDescription
getDisplayBlanksAs ()Returns or sets the way to plot blank cells on a chart. Read/write DisplayBlanksAsType.

Returns: int


getFloor

NameDescription
getFloor ()Returns an object which allows to change format of the floor of a 3D chart. Read-only IChartWall.

Returns: ChartWall


getLegend

NameDescription
getLegend ()Returns or sets a legend for a chart. Read-only ILegend.

Returns: Legend


getPlotArea

NameDescription
getPlotArea ()Represents the plot area of a chart. Read-only IChartPlotArea.

Returns: ChartPlotArea


getPlotVisibleCellsOnly

NameDescription
getPlotVisibleCellsOnly ()Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read/write boolean.

Returns: boolean


getRotation3D

NameDescription
getRotation3D ()Returns a 3D rotation of a chart. Read-only IRotation3D.

Returns: Rotation3D


getShowDataLabelsOverMaximum

NameDescription
getShowDataLabelsOverMaximum ()Specifies data labels over the maximum of the chart shall be shown. Read/write boolean.

Returns: boolean


getSideWall

NameDescription
getSideWall ()Returns an object which allows to change format of the side wall of a 3D chart. Read-only IChartWall.

Returns: ChartWall


getStyle

NameDescription
getStyle ()Returns or sets the chart style. Read/write StyleType.

Returns: int


getTextFormat

NameDescription
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.

Returns: ChartTextFormat


getThemeManager

NameDescription
getThemeManager ()Returns theme manager. Read-only IOverrideThemeManager.

Returns: SlideThemeManager, BaseOverrideThemeManager, ChartThemeManager, LayoutSlideThemeManager, NotesSlideThemeManager


getType

NameDescription
getType ()Returns or sets the chart type. Read/write ChartType.

Returns: int


getUserShapes

NameDescription
getUserShapes ()Specify the shapes drawn on top of the chart. Read-only IGroupShape.

Returns: GroupShape


hasDataTable

NameDescription
hasDataTable ()Determines whether a chart has a data table. Read/write boolean.

Returns: boolean


hasLegend

NameDescription
hasLegend ()Determines whether a chart has a legend. Read/write boolean.

Returns: boolean


hasRoundedCorners

NameDescription
hasRoundedCorners ()Specifies the chart area shall have rounded corners. Read/write boolean.

Returns: boolean


hasTitle

NameDescription
hasTitle ()Determines whether a chart has a visible title. Read/write boolean.

Returns: boolean


setDataTable

NameDescription
setDataTable (boolean)Determines whether a chart has a data table. Read/write boolean.

setDisplayBlanksAs

NameDescription
setDisplayBlanksAs (int)Returns or sets the way to plot blank cells on a chart. Read/write DisplayBlanksAsType.

setLegend

NameDescription
setLegend (boolean)Determines whether a chart has a legend. Read/write boolean.

setPlotVisibleCellsOnly

NameDescription
setPlotVisibleCellsOnly (boolean)Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read/write boolean.

setRoundedCorners

NameDescription
setRoundedCorners (boolean)Specifies the chart area shall have rounded corners. Read/write boolean.

setShowDataLabelsOverMaximum

NameDescription
setShowDataLabelsOverMaximum (boolean)Specifies data labels over the maximum of the chart shall be shown. Read/write boolean.

setStyle

NameDescription
setStyle (int)Returns or sets the chart style. Read/write StyleType.

setTitle

NameDescription
setTitle (boolean)Determines whether a chart has a visible title. Read/write boolean.

setType

NameDescription
setType (int)Returns or sets the chart type. Read/write ChartType.

validateChartLayout

NameDescription
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)