IChart

All Implemented Interfaces: com.aspose.slides.IGraphicalObject, com.aspose.slides.IFormattedTextContainer, com.aspose.slides.IOverrideThemeable

public interface IChart extends IGraphicalObject, IFormattedTextContainer, IOverrideThemeable

Represents an graphic chart on a slide.

Methods

Method Description
getPlotVisibleCellsOnly() Determines whether the only visible cells are plotted.
setPlotVisibleCellsOnly(boolean value) Determines whether the only visible cells are plotted.
getDisplayBlanksAs() Returns or sets the way to plot blank cells on a chart.
setDisplayBlanksAs(int value) Returns or sets the way to plot blank cells on a chart.
getChartData() Returns information about the linked or embedded data associated with a chart.
hasTitle() Determines whether a chart has a visible title.
setTitle(boolean value) Determines whether a chart has a visible title.
getChartTitle() Returns or sets a chart title Read-only IChartTitle.
hasDataTable() Determines whether a chart has a data table.
setDataTable(boolean value) Determines whether a chart has a data table.
hasLegend() Determines whether a chart has a legend.
setLegend(boolean value) Determines whether a chart has a legend.
getLegend() Returns or sets a legend for a chart.
getChartDataTable() Returns a data table of a chart.
getStyle() Returns or sets the chart style.
setStyle(int value) Returns or sets the chart style.
getType() Returns or sets the chart type.
setType(int value) Returns or sets the chart type.
getPlotArea() Represents the plot area of a chart.
getRotation3D() Returns a 3D rotation of a chart.
getBackWall() Returns an object which allows to change format of the back wall of a 3D chart.
getSideWall() Returns an object which allows to change format of the side wall of a 3D chart.
getFloor() Returns an object which allows to change format of the floor of a 3D chart.
getUserShapes() Specify the shapes drawn on top of the chart.
getAxes() Provide access to chart axes.
validateChartLayout() Calculates actual values of chart elements.
getShowDataLabelsOverMaximum() Specifies data labels over the maximum of the chart shall be shown.
setShowDataLabelsOverMaximum(boolean value) Specifies data labels over the maximum of the chart shall be shown.
hasRoundedCorners() Specifies the chart area shall have rounded corners.
setRoundedCorners(boolean value) Specifies the chart area shall have rounded corners.

getPlotVisibleCellsOnly()

public abstract boolean getPlotVisibleCellsOnly()

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

Returns: boolean

setPlotVisibleCellsOnly(boolean value)

public abstract void setPlotVisibleCellsOnly(boolean value)

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

Parameters:

Parameter Type Description
value boolean

getDisplayBlanksAs()

public abstract int getDisplayBlanksAs()

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

Returns: int

setDisplayBlanksAs(int value)

public abstract void setDisplayBlanksAs(int value)

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

Parameters:

Parameter Type Description
value int

getChartData()

public abstract IChartData getChartData()

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

Returns: IChartData

hasTitle()

public abstract boolean hasTitle()

Determines whether a chart has a visible title. Read/write boolean.

Returns: boolean

setTitle(boolean value)

public abstract void setTitle(boolean value)

Determines whether a chart has a visible title. Read/write boolean.

Parameters:

Parameter Type Description
value boolean

getChartTitle()

public abstract IChartTitle getChartTitle()

Returns or sets a chart title Read-only IChartTitle.

Returns: IChartTitle

hasDataTable()

public abstract boolean hasDataTable()

Determines whether a chart has a data table. Read/write boolean.

Returns: boolean

setDataTable(boolean value)

public abstract void setDataTable(boolean value)

Determines whether a chart has a data table. Read/write boolean.

Parameters:

Parameter Type Description
value boolean

hasLegend()

public abstract boolean hasLegend()

Determines whether a chart has a legend. Read/write boolean.

Returns: boolean

setLegend(boolean value)

public abstract void setLegend(boolean value)

Determines whether a chart has a legend. Read/write boolean.

Parameters:

Parameter Type Description
value boolean

getLegend()

public abstract ILegend getLegend()

Returns or sets a legend for a chart. Read-only ILegend.

Returns: ILegend

getChartDataTable()

public abstract IDataTable getChartDataTable()

Returns a data table of a chart. Read-only IDataTable.

Returns: IDataTable

getStyle()

public abstract int getStyle()

Returns or sets the chart style. Read/write StyleType.

Returns: int

setStyle(int value)

public abstract void setStyle(int value)

Returns or sets the chart style. Read/write StyleType.

Parameters:

Parameter Type Description
value int

getType()

public abstract int getType()

Returns or sets the chart type. Read/write ChartType.

Returns: int

setType(int value)

public abstract void setType(int value)

Returns or sets the chart type. Read/write ChartType.

Parameters:

Parameter Type Description
value int

getPlotArea()

public abstract IChartPlotArea getPlotArea()

Represents the plot area of a chart. Read-only IChartPlotArea.

Returns: IChartPlotArea

getRotation3D()

public abstract IRotation3D getRotation3D()

Returns a 3D rotation of a chart. Read-only IRotation3D.

Returns: IRotation3D

getBackWall()

public abstract IChartWall getBackWall()

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

Returns: IChartWall

getSideWall()

public abstract IChartWall getSideWall()

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

Returns: IChartWall

getFloor()

public abstract IChartWall getFloor()

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

Returns: IChartWall

getUserShapes()

public abstract IGroupShape getUserShapes()

Specify the shapes drawn on top of the chart. Read-only IGroupShape.

Returns: IGroupShape

getAxes()

public abstract IAxesManager getAxes()

Provide access to chart axes. Read-only IAxesManager.

Returns: IAxesManager

validateChartLayout()

public abstract void validateChartLayout()

Calculates actual values of chart elements. Actual values inlude 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)

getShowDataLabelsOverMaximum()

public abstract boolean getShowDataLabelsOverMaximum()

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

Returns: boolean

setShowDataLabelsOverMaximum(boolean value)

public abstract void setShowDataLabelsOverMaximum(boolean value)

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

Parameters:

Parameter Type Description
value boolean

hasRoundedCorners()

public abstract boolean hasRoundedCorners()

Specifies the chart area shall have rounded corners. Read/write boolean.

Returns: boolean

setRoundedCorners(boolean value)

public abstract void setRoundedCorners(boolean value)

Specifies the chart area shall have rounded corners. Read/write boolean.

Parameters:

Parameter Type Description
value boolean