ChartPlotArea
ChartPlotArea class
Represents rectangle where chart should be plotted.
getActualHeight
Name | Description |
---|---|
getActualHeight () | Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. |
Returns: float
getActualWidth
Name | Description |
---|---|
getActualWidth () | Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. |
Returns: float
getActualX
Name | Description |
---|---|
getActualX () | Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float. |
Returns: float
getActualY
Name | Description |
---|---|
getActualY () | Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float. |
Returns: float
getBottom
Name | Description |
---|---|
getBottom () | Bottom. Read-only float. |
Returns: float
getChart
Name | Description |
---|---|
getChart () | Chart. Read-only IChart. |
Returns: Chart
getFormat
Name | Description |
---|---|
getFormat () | Returns the format of a plot area. Read-only IFormat. |
Returns: Format
getHeight
Name | Description |
---|---|
getHeight () | Returns or sets the height of a plot area bounding box as a fraction of the height of the chart (from 0 to 1). Read/write float. |
Returns: float
getLayoutTargetType
Name | Description |
---|---|
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(); } |
Returns: int
getPresentation
Name | Description |
---|---|
getPresentation () | Returns the parent presentation of a FillFormat. Read-only IPresentation. |
Returns: Presentation
getRight
Name | Description |
---|---|
getRight () | Right. Read-only float. |
Returns: float
getSlide
Name | Description |
---|---|
getSlide () | Returns the parent slide of a FillFormat. Read-only BaseSlide. |
Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide
getWidth
Name | Description |
---|---|
getWidth () | Returns or sets the width of a plot area bounding box as a fraction of the width of the chart (from 0 to 1). Read/write float. |
Returns: float
getX
Name | Description |
---|---|
getX () | Returns or sets the x coordinate of the upper left corner of plot area bounding box as a fraction of the width of the chart (from 0 to 1). Read/write float. |
Returns: float
getY
Name | Description |
---|---|
getY () | Returns or sets the y coordinate of the upper left corner of plot area bounding box as a fraction of the height of the chart (from 0 to 1). Read/write float. |
Returns: float
isLocationAutocalculated
Name | Description |
---|---|
isLocationAutocalculated () | Defines how location should be calculated: true – calculated automatically; defined by the X, Y, Width, Height properties. Read-only boolean. |
Returns: boolean
setHeight
Name | Description |
---|---|
setHeight (float) | Returns or sets the height of a plot area bounding box as a fraction of the height of the chart (from 0 to 1). Read/write float. |
Returns: void
setLayoutTargetType
Name | Description |
---|---|
setLayoutTargetType (int) | 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(); } |
Returns: void
setWidth
Name | Description |
---|---|
setWidth (float) | Returns or sets the width of a plot area bounding box as a fraction of the width of the chart (from 0 to 1). Read/write float. |
Returns: void
setX
Name | Description |
---|---|
setX (float) | Returns or sets the x coordinate of the upper left corner of plot area bounding box as a fraction of the width of the chart (from 0 to 1). Read/write float. |
Returns: void
setY
Name | Description |
---|---|
setY (float) | Returns or sets the y coordinate of the upper left corner of plot area bounding box as a fraction of the height of the chart (from 0 to 1). Read/write float. |
Returns: void