ChartTitle
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IChartTitle, com.aspose.slides.IDOMObject
public class ChartTitle implements IChartTitle, IDOMObject
Represents chart title properties.
Methods
Method | Description |
---|---|
getX() | Returns or sets the x coordinate of a title as a fraction of the width of the chart. |
setX(float value) | Returns or sets the x coordinate of a title as a fraction of the width of the chart. |
getY() | Returns or sets the y coordinate of a title as a fraction of the height of the chart. |
setY(float value) | Returns or sets the y coordinate of a title as a fraction of the height of the chart. |
getWidth() | Returns or sets the width of a title as a fraction of the width of the chart. |
setWidth(float value) | Returns or sets the width of a title as a fraction of the width of the chart. |
getHeight() | Returns or sets the height of a title as a fraction of the height of the chart. |
setHeight(float value) | Returns or sets the height of a title as a fraction of the height of the chart. |
getRight() | Right. |
getBottom() | Bottom. |
getOverlay() | Determines whether other chart elements shall be allowed to overlap title. |
setOverlay(boolean value) | Determines whether other chart elements shall be allowed to overlap title. |
getFormat() | Returns the fill, line, effect styles of a title. |
addTextFrameForOverriding(String text) | Initialize TextFrameForOverriding with the text in paramener “text”. |
getTextFrameForOverriding() | Can contain a rich formatted text. |
getTextFormat() | Returns text format. |
getActualX() | Specifies actual x location (left) of the chart element relative to the left top corner of the chart. |
getActualY() | Specifies actual top of the chart element relative to the left top corner of the chart. |
getActualWidth() | Specifies actual width of the chart element. |
getActualHeight() | Specifies actual height of the chart element. |
getParent_Immediate() | |
getChart() | Returns the parent chart. |
getSlide() | Returns the parent slide of a FillFormat. |
getPresentation() | Returns the parent presentation of a FillFormat. |
getX()
public final float getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.
Returns: float
setX(float value)
public final void setX(float value)
Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getY()
public final float getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.
Returns: float
setY(float value)
public final void setY(float value)
Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getWidth()
public final float getWidth()
Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.
Returns: float
setWidth(float value)
public final void setWidth(float value)
Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getHeight()
public final float getHeight()
Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.
Returns: float
setHeight(float value)
public final void setHeight(float value)
Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getRight()
public final float getRight()
Right. Read-only float.
Returns: float
getBottom()
public final float getBottom()
Bottom. Read-only float.
Returns: float
getOverlay()
public final boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.
Returns: boolean
setOverlay(boolean value)
public final void setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getFormat()
public final IFormat getFormat()
Returns the fill, line, effect styles of a title. Read-only IFormat.
Returns: IFormat
addTextFrameForOverriding(String text)
public final ITextFrame addTextFrameForOverriding(String text)
Initialize TextFrameForOverriding with the text in paramener “text”. If TextFrameForOverriding is already initialized then simply changes its text.
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | Text for a new TextFrameForOverriding. |
Returns: ITextFrame
getTextFrameForOverriding()
public final ITextFrame getTextFrameForOverriding()
Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.
Returns: ITextFrame
getTextFormat()
public final IChartTextFormat getTextFormat()
Returns text format. Read-only IChartTextFormat.
Returns: IChartTextFormat
getActualX()
public final float 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()
public final float 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
getActualWidth()
public final float getActualWidth()
Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
Returns: float
getActualHeight()
public final float getActualHeight()
Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
Returns: float
getParent_Immediate()
public final IDOMObject getParent_Immediate()
Returns Parent_Immediate object. Read-only IDOMObject.
Returns: com.aspose.slides.IDOMObject
getChart()
public final IChart getChart()
Returns the parent chart. Read-only IChart.
Returns: IChart
getSlide()
public final IBaseSlide getSlide()
Returns the parent slide of a FillFormat. Read-only BaseSlide.
Returns: IBaseSlide
getPresentation()
public final IPresentation getPresentation()
Returns the parent presentation of a FillFormat. Read-only IPresentation.
Returns: IPresentation