public interface IChartPlotArea extends ILayoutable, IActualLayout
Represents chart title properties.
Modifier and Type | Method and Description |
---|---|
IFormat |
getFormat()
Returns the format of a plot area.
|
int |
getLayoutTargetType()
If layout of the plot area defined manually this property specifies whether
to layout the plot area by its inside (not including axis and axis labels) or outside
(including axis and axis labels).
|
void |
setLayoutTargetType(int value)
If layout of the plot area defined manually this property specifies whether
to layout the plot area by its inside (not including axis and axis labels) or outside
(including axis and axis labels).
|
getBottom, getHeight, getRight, getWidth, getX, getY, setHeight, setWidth, setX, setY
getChart
getSlide
getPresentation
getActualHeight, getActualWidth, getActualX, getActualY
int getLayoutTargetType()
If layout of the plot area defined manually this property specifies whether
to layout the plot area by its inside (not including axis and axis labels) or outside
(including axis and axis labels).
Read/write LayoutTargetType
(getLayoutTargetType()
/setLayoutTargetType(int)
).
Presentation presentation = new Presentation(); try { ISlide slide = presentation.getSlides().get_Item(0); IChart chart = slide.getShapes().addChart(ChartType.ClusteredColumn, 20, 100, 600, 400); chart.getPlotArea().setX(0.2f); chart.getPlotArea().setY(0.2f); chart.getPlotArea().setWidth(0.7f); chart.getPlotArea().setHeight(0.7f); chart.getPlotArea().setLayoutTargetType(LayoutTargetType.Inner); ... } finally { if (presentation != null) presentation.dispose(); }
void setLayoutTargetType(int value)
If layout of the plot area defined manually this property specifies whether
to layout the plot area by its inside (not including axis and axis labels) or outside
(including axis and axis labels).
Read/write LayoutTargetType
(getLayoutTargetType()
/setLayoutTargetType(int)
).
Presentation presentation = new Presentation(); try { ISlide slide = presentation.getSlides().get_Item(0); IChart chart = slide.getShapes().addChart(ChartType.ClusteredColumn, 20, 100, 600, 400); chart.getPlotArea().setX(0.2f); chart.getPlotArea().setY(0.2f); chart.getPlotArea().setWidth(0.7f); chart.getPlotArea().setHeight(0.7f); chart.getPlotArea().setLayoutTargetType(LayoutTargetType.Inner); ... } finally { if (presentation != null) presentation.dispose(); }