|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ChartTitle
public class ChartTitle
Represents chart title properties.
Method Summary | |
---|---|
ITextFrame |
addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text". |
float |
getBottom()
|
IChart |
getChart()
Returns the parent chart. |
IFormat |
getFormat()
Returns the fill, line, effect styles of a title. |
float |
getHeight()
Returns or sets the height of a title as a fraction of the height of the chart. |
boolean |
getOverlay()
Determines whether other chart elements shall be allowed to overlap title. |
float |
getRight()
|
TextFrame |
getText()
Deprecated. |
IChartTextFormat |
getTextFormat()
|
ITextFrame |
getTextFrameForOverriding()
Can contain a rich formatted text. |
float |
getWidth()
Returns or sets the width of a title as a fraction of the width of the chart. |
float |
getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart. |
float |
getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart. |
void |
setHeight(float value)
|
void |
setOverlay(boolean value)
|
void |
setWidth(float value)
|
void |
setX(float value)
|
void |
setY(float value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public float getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart.
Read/write float
.
getX
in interface ILayoutable
public void setX(float value)
setX
in interface ILayoutable
public float getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart.
Read/write float
.
getY
in interface ILayoutable
public void setY(float value)
setY
in interface ILayoutable
public float getWidth()
Returns or sets the width of a title as a fraction of the width of the chart.
Read/write float
.
getWidth
in interface ILayoutable
public void setWidth(float value)
setWidth
in interface ILayoutable
public float getHeight()
Returns or sets the height of a title as a fraction of the height of the chart.
Read/write float
.
getHeight
in interface ILayoutable
public void setHeight(float value)
setHeight
in interface ILayoutable
public float getRight()
getRight
in interface ILayoutable
public float getBottom()
getBottom
in interface ILayoutable
public boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap title.
Read/write bool
.
getOverlay
in interface IChartTitle
public void setOverlay(boolean value)
setOverlay
in interface IChartTitle
@Deprecated public TextFrame getText()
Returns text frame of a chart title.
public IFormat getFormat()
Returns the fill, line, effect styles of a title.
getFormat
in interface IChartTitle
public ITextFrame addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.
addTextFrameForOverriding
in interface IOverridableText
text
- Text for a new TextFrameForOverriding.public 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.
getTextFrameForOverriding
in interface IOverridableText
public IChartTextFormat getTextFormat()
getTextFormat
in interface IFormattedTextContainer
public IChart getChart()
Returns the parent chart.
Read-only IChart
.
getChart
in interface IChartComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |